Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic Object Pool #14

Open
erikwatson opened this issue Jan 16, 2020 · 0 comments
Open

Generic Object Pool #14

erikwatson opened this issue Jan 16, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@erikwatson
Copy link
Owner

Applications build using Bramble are almost certainly going to require the use of a pooling system in order to avoid GC (Garbage Collection) stuttering when our dangling objects get cleaned up.

Object pools need the following features.

  • Initialise with - Create a new pool with X of the required object
  • Recycling - When we are done with an object we return it to the pool, where it's properties are reset
  • Dynamic Resizing - If the limit is reached we should increase the size of the pool automatically.

It should be easy, it was easy enough in Sky Panda and it made a huge difference.

@erikwatson erikwatson added the enhancement New feature or request label Mar 30, 2021
@erikwatson erikwatson added this to the v1.0.0 milestone Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant