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

   I found that `std::min` is unnecessarily used in 
`Http2ConnectionState::restart_stream()`. This is a tiny optimization but we 
don't care which value is smaller here, and it doesn't look like the use of 
`std::min`  contributes to readability either.
   
   `h2load -n 20000 -m 1 -c 1  "https://localhost:8443/256k"`
   
   <img width="1421" alt="image" 
src="https://github.com/apache/trafficserver/assets/153144/3bcfa7c6-8115-4131-9982-a80e4b5f4cac";>


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