Skip to content

heap optimizations #28

@JKearnsl

Description

@JKearnsl

Currently, a vector is allocated in the heap for each IP packet/message

In a single case, this takes ~15 ns, but when there are many such packets (and there are many), the allocator actively starts asking for/freeing the process's RAM, which causes a huge jump in the OS scheduler context switching

It is necessary to reuse the allocated vectors by making a pool of allocators

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions