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

   TLSomethingSupport, which enables using SSLNetVC and QUICNetVC in the same 
way, required use of dynamic_cast at many places. I don't know how much it 
affects performance, but this is one of ways to remove the dynamic_cast.
   
   It still relies on RTTI, so maybe it's not as fast as you want, but I guess 
it's faster than looking up vtable.
   
   We probably want to avoid std::unordered_map here, and I'm going to change 
it later if we go this way. Current code is just to show the idea.


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