aboutsummaryrefslogtreecommitdiff
path: root/src/zen/trace/trace_analyze.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-04-20 21:40:02 +0200
committerGitHub Enterprise <[email protected]>2026-04-20 21:40:02 +0200
commited3a02bd5bbfbca337dbc0403fa4d04b955d05ec (patch)
treef4b0f60bd1f50dc856fc1ffc2064e0b0c9cf0f6c /src/zen/trace/trace_analyze.cpp
parentUse eastl::deque for queues with many small elements (#991) (diff)
downloadarchived-zen-ed3a02bd5bbfbca337dbc0403fa4d04b955d05ec.tar.xz
archived-zen-ed3a02bd5bbfbca337dbc0403fa4d04b955d05ec.zip
Add CompactString utility type (#990)
- Introduce `CompactString`: a move-only, heap-allocated, immutable string wrapper that stores its length in a prefix byte for cheap `Size()`/`ToView()` while keeping the object to a single pointer. - Swap the `ToString()` integer-formatting helpers in `zencore/string.cpp` to `std::to_chars`, which is ~5-10x faster and benefits every `IntNum` / `StringBuilder` / `CbJsonWriter` caller. - No in-tree users on `main` yet; the type is ready for callers that want owned-string storage with lower per-entry overhead than `std::string` (e.g. long-lived log buffers, session records).
Diffstat (limited to 'src/zen/trace/trace_analyze.cpp')
0 files changed, 0 insertions, 0 deletions