You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: rename radix_tree->segment_trie and modded_request::dhr->request
Two mechanical renames (bundled -- they overlap in webserver_request.cpp
and webserver_dispatch.cpp, so they cannot be split cleanly at file
granularity). Both are pure renames; no behavior change. Build green,
full suite 109/109.
1. radix_tree data structure -> segment_trie
The structure is an uncompressed per-segment trie (one node per '/'-
delimited path segment, no edge compression), not a radix tree:
radix_tree -> segment_trie
radix_node -> segment_trie_node
radix_match -> segment_trie_match
radix_tree.hpp -> segment_trie.hpp (+ include guard)
plus "radix tree"/"radix-tree" prose -> "segment trie". The route
*tier* keeps its historical name (route_tier_kind::radix, "radix
tier", upsert_v2_radix_route) -- a separate concept (the
parameterized-path tier), out of scope here.
2. modded_request::dhr member -> request
`dhr` was inherited v1 shorthand carried through ~50 dispatch call
sites as mr->dhr; now mr->request. Unrelated local `dhr` header-map
variables in http_request_impl.cpp and the v1 baseline benchmark are
left untouched.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments