NameLookup is a struct used to speed up looking up dynamic members. In use it is allocation free and most construction code places data on the client provider MemoryPool<char> - but there are threeplacesthat directly allocate on the heap. These should be replaced either with no allocation code (which appears quite tricky) or with code that only uses memory obtained from a MemoryPool<char>.
This code is performance critical - there three benchmarks to verify that improvements on allocations do not cause regressions in runtime.
NameLookup
is a struct used to speed up looking up dynamic members. In use it is allocation free and most construction code places data on the client providerMemoryPool<char>
- but there are three places that directly allocate on the heap. These should be replaced either with no allocation code (which appears quite tricky) or with code that only uses memory obtained from aMemoryPool<char>
.This code is performance critical - there three benchmarks to verify that improvements on allocations do not cause regressions in runtime.