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

Improve memory management through more suitable allocators? #2

Open
ktnr opened this issue Apr 29, 2022 · 0 comments
Open

Improve memory management through more suitable allocators? #2

ktnr opened this issue Apr 29, 2022 · 0 comments
Labels
performance Performance improvements

Comments

@ktnr
Copy link
Owner

ktnr commented Apr 29, 2022

https://github.com/r-lyeh-archived/ltalloc seems to work great. Observed runtime improvements in parallel mode with SolveParallelTaskflow() of up to 40%.

I do not yet have a good understanding of the suitability of this allocator, other than it states that it is suited for multi-threaded purposes. Is it similar to pool allocators? Might explicit pool allocators be more useful? Need to study the wiki.

Caution: Need to further evaluate the limitations for usage with Windows. By including the source files the operator new is globally overriden. This shouldn't affect precompiled dependencies. But it might have an effect on all projects that include this repo, and therefore also ltalloc.cc, as a submodule.

@ktnr ktnr added the performance Performance improvements label Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance improvements
Projects
None yet
Development

No branches or pull requests

1 participant