Persistence is an optional operating mode for the library which is enabled by default and can dramatically reduce runtime latency at the cost of somewhat higher heap allocation. When enabled the library will spawn all threads on initialization and will reuse the threads. When this option is disabled the library will instead spawn threads when needed and will destroy threads when they've completed execution. It is recommended you keep this enabled unless you are developing for memory constrained systems or do not require real time performance. You can however disable this easily by setting hamsters.persistence to false.