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

Small object allocators for algebras and streams #192

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

inakleinbottle
Copy link
Contributor

The base algebra interface and stream interface now inherit from SmallObjectBase and will make use of the pool allocator for allocations rather than a raw malloc or operator new. This should improve performance in the long run since lots of these allocations occur.

Added `mem::SmallObjectBase` as a base class to `StreamInterface` and `AlgebraInterfaceBase` for optimized memory handling of small objects. Updated necessary includes to ensure proper integration. This enhances performance and memory efficiency across the codebase.
@inakleinbottle inakleinbottle merged commit fd7e52f into main Dec 19, 2024
3 checks passed
@inakleinbottle inakleinbottle deleted the small-object-allocator branch December 19, 2024 10:41
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.

1 participant