Hamsters.js
  • Home
  • About
  • Services
  • Example
  • Wiki
  • Contact

Hamsters.js Wiki

  • Installing Hamsters

    • HTML
    • React Native
    • Node.js
  • Using Hamsters

    • Initializing
    • The Basics
    • Restructuring Standard Functions
    • Promises
    • Sorting
    • Persistence
    • Transferable Objects
    • Debugging
    • Limitations

Persistence

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.

            
              hamsters.init({
                persistence: false
              });
            
          

Recent Updates

New React Native Hamsters Release v1.0.9!

New Hamsters.js Release v5.4.1!

New Hamsters.js Release v5.4.0!

New Hamsters.js Release v5.3.9!

Subscribe To Updates

Register your email address to receive updates from the news letter such as new version releases, and terms of service changes.

© 2015 - 2022 asmithdev | All rights reserved.
  • Home
  • About
  • Privacy
  • License