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

containers: rework handling of ProxyVector internal storage #193

Merged
merged 17 commits into from
Jul 1, 2021

Conversation

andrea-iob
Copy link
Member

I've added a very simple "pool allocator" to the ProxyVector container, in order to reduce memory allocations when ProxyVector needs an internal storage. I'm using quotes because what I'm doing is not really a pool allocator, I just save the last 10 internal storages and I re-used those storages when a new ProxyVector is created.

@andrea-iob andrea-iob force-pushed the containers.rework.proxy.vector branch 2 times, most recently from 0f1fb93 to 7118713 Compare June 13, 2021 07:07
@andrea-iob andrea-iob force-pushed the containers.rework.proxy.vector branch from 7118713 to a3925ea Compare June 13, 2021 08:03
@andrea-iob andrea-iob mentioned this pull request Jun 14, 2021
@andrea-iob andrea-iob merged commit 40aaac7 into master Jul 1, 2021
@andrea-iob andrea-iob deleted the containers.rework.proxy.vector branch July 1, 2021 21:21
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

Successfully merging this pull request may close these issues.

4 participants