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

   The "DFA" class is quite slow for parsing dates in headers because it uses 
regex matching.  I instead pack characters into an integer and do a simple 
linear search.
   
   I benchmarked this approach against other methods like Trie, DFA, SIMD, tree 
search.  I found this method is among the fastest for this task, and remains 
portable, and readable.  It's at least 10x faster than the previous way on 
x64/arm CPUs I tested.


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