yanet icon indicating copy to clipboard operation
yanet copied to clipboard

Superfluous memory allocations in fragmentation_t

Open TheRandomCharacter opened this issue 1 year ago • 0 comments

https://github.com/yanet-platform/yanet/blob/87748d7bf95f44ba21725197b0ef18e196310741/dataplane/fragmentation.cpp#L161-L164 It would be better to reuse same vector, instead of constructing and growing it every handle() call

TheRandomCharacter avatar Jun 07 '24 11:06 TheRandomCharacter