Cool Idea: custom memory allocator #34

Open
opened 2025-12-27 15:06:50 -07:00 by parker_macdonald · 0 comments

rash's memory usage can be split into two major parts: long term storage (commands history, shell variables, etc.), and short term storage, (lexer tokens, preprocessed strings, etc.).
Wouldn't it be cool if rash had a custom memory allocator that stores long term things in separate pages from short term things to prevent memory fragmentation?

rash's memory usage can be split into two major parts: long term storage (commands history, shell variables, etc.), and short term storage, (lexer tokens, preprocessed strings, etc.). Wouldn't it be cool if rash had a custom memory allocator that stores long term things in separate pages from short term things to prevent memory fragmentation?
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: parker_macdonald/rash#34
No description provided.