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

advice on efficient usage with highly dynamic boxes? #5

Open
mreinstein opened this issue Oct 30, 2017 · 0 comments
Open

advice on efficient usage with highly dynamic boxes? #5

mreinstein opened this issue Oct 30, 2017 · 0 comments

Comments

@mreinstein
Copy link

I'd love to use this module for spatial partitioning in a simulation I'm working on.

@mikolalysenko One challenge in my case is many boxes are created/destroyed at simulation time, and the api accepts a fixed list of boxes.

I worry inserting/splicing many array items will create a lot of memory gc pressure.

Would it be better to keep a fixed list of boxes, and just set some to empty? This would effectively be a pool I suppose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant