Region allocator #9
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Chewing_Bever/lnm#9
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. 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).