Region allocator #9
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Chewing_Bever/lnm#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Connections already reuse allocated memory where possible, but a region allocator would allow stronger control and reuse of memory, preventing a busy server from performing tons of allocations when processing lots of connections.
In this case, with a region allocator the best idea would be a fixed-size region allocator, where e.g. connection structs are reused (or perhaps a separate region per custom context if we implement that issue).