Skip to content

Arena allocator, for real this time#3964

Merged
kddnewton merged 1 commit intomainfrom
arena
Mar 5, 2026
Merged

Arena allocator, for real this time#3964
kddnewton merged 1 commit intomainfrom
arena

Conversation

@kddnewton
Copy link
Collaborator

@kddnewton kddnewton commented Mar 5, 2026

Fixes #1337
Closes #3231

@kddnewton kddnewton force-pushed the arena branch 4 times, most recently from 75cbf97 to 6367c3c Compare March 5, 2026 15:33
Move the whole AST into a bump allocator since it has the same
lifetime.
@kddnewton kddnewton merged commit 88cfd26 into main Mar 5, 2026
65 of 67 checks passed
@kddnewton kddnewton deleted the arena branch March 5, 2026 16:51
@eregon
Copy link
Member

eregon commented Mar 5, 2026

Neat. Do you have any performance numbers/how much faster is it?

@kddnewton
Copy link
Collaborator Author

On my machine I'm seeing about a 28% speed-up.

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.

Memory management

2 participants