Skip to content

Stormpot 3.1

Latest
Compare
Choose a tag to compare
@chrisvest chrisvest released this 17 Jun 21:02
· 4 commits to 3.1 since this release

Stormpot 3.1 is fully backwards compatible with 3.0, but adds a number of new features:

  • It is now possible to create pools with a size of zero, and to change the target size of a pool to be zero. Such pools will behave as if they are perpetually depleted, that is, as if all of their objects have been claimed. These empty pools can still have their target size increased at any later time.
  • A new “inline” pool mode has been added. In this mode there is no background thread, and thus none of the background services are available. Object allocation and deallocation instead occur inline with the claim calls, hence the name. This means that these pools are lighter on CPU and memory resources.