diff options
| author | Stefan Boberg <[email protected]> | 2026-04-10 23:06:34 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-04-10 23:06:34 +0200 |
| commit | bbbc608879693e53511c2239bdedd40a9fde6ce1 (patch) | |
| tree | 6b96c3c984d732c21f90e35c5af043ef815e92d5 /src/zencore/compactbinaryjson.cpp | |
| parent | Reduce short-lived heap allocations in zenserver (diff) | |
| download | zen-bbbc608879693e53511c2239bdedd40a9fde6ce1.tar.xz zen-bbbc608879693e53511c2239bdedd40a9fde6ce1.zip | |
Reduce short-lived heap allocations in zenhttp
- Replace std::vector<std::string_view> with eastl::fixed_vector<std::string_view, 4> for route capture segments, eliminating a heap allocation on every routed request
- Add transparent comparator to status provider map, eliminating std::string temporary on every /status/ lookup
Diffstat (limited to 'src/zencore/compactbinaryjson.cpp')
0 files changed, 0 insertions, 0 deletions