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

Memory Pool optimizations #24

Open
eruffaldi opened this issue Mar 26, 2017 · 1 comment
Open

Memory Pool optimizations #24

eruffaldi opened this issue Mar 26, 2017 · 1 comment

Comments

@eruffaldi
Copy link
Member

1 - align to next pow2: useful for the little variable blocks of x264 compressors. Hint from user
2 - skip for smaller then size K: probably makes not necessary previous one
3 - per-task memory pool with lightweight deleter: the concept is that we want to reduce the cost of multithreaded allocation so we employ:
3.1 - per-task or per-activity pool (reasonable given the usage patterns)
3.2 - deletion can be lock-less

@eruffaldi
Copy link
Member Author

Added k with 16384

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