-
-
Notifications
You must be signed in to change notification settings - Fork 28
Consuming Arena Allocator for our Rendering #459
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
Conversation
…raw' into user/kernel/scene-draw
| TEST_F(HashMapTest, InitialState) | ||
| { | ||
| HashMap<int, int> array; | ||
| array.init(&allocator, 10, 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe in void init(Memory::ArenaAllocator* allocator, size_type initial_capacity, size_type initial_size) we can set initial_size to default to 0 so it can be optional
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do/did we ever use that initial_size ? AFAIK I didn't see us using it - that's the reason I decided to drop it
| static value_type temp = **this; | ||
| return &temp; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
static variable shared by ALL iterators wont this cause problem?
This PR integrates an Arena Allocator into the rendering engine to improve memory management, allocation efficiency, and performance across multiple subsystems. The changes touch core rendering paths, UI components, and data handling infrastructure.
Key Changes
AssetManagerto centralize and streamline asset loading, tracking, and management.