zwoop opened a new pull request, #13195:
URL: https://github.com/apache/trafficserver/pull/13195

   Pimpl `Url::Path` and `Url::Query` state behind `unique_ptr` so the heavy 
vector/unordered_map/`cripts::string` members only allocate when a script 
actually decomposes the path or query. Lazy-allocate Pristine, Parent, and 
Remap From/To URLs in _UrlBlock — they're rarely all touched, and the embedded 
384-byte Url objects dominated the per-txn cost. Pimpl Error::Reason for the 
same reason. Drop the unused INET6_ADDRSTRLEN buffer in detail::ConnBase. Make 
cripts::Url's destructor virtual now that we delete via unique_ptr. Bump 
CONTEXT_DATA_SLOTS from 4 to 16 so scripts have room to stash more per-txn 
state — the 384-byte cost sits inside the budget freed by the URL/Connection 
cuts.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to