phongn commented on PR #13167:
URL: https://github.com/apache/trafficserver/pull/13167#issuecomment-4512453792

   Yes — migrated the in-place tolower loop in `QPACK::_encode_header` to 
`ts::memcpy_tolower` in faeb167c8. The helper's contract now explicitly 
supports `dst == src`: every SIMD body loads a full block into a register 
before storing back at the same offset, and the AVX-512BW masked tail does 
masked-load/masked-store at the same offset. Partial overlap (where `dst != 
src` but the ranges intersect) is still unsupported. Unit test coverage for the 
in-place form added too.
   
   `UrlRewrite.cc` and `HPACK.cc` have similar byte-at-a-time loops with 
separate buffers — those are easy follow-up migrations if you'd like them 
rolled in, or I can leave them as a separate PR.


-- 
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