You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "masaori335 (via GitHub)" <gi...@apache.org> on 2023/08/07 23:48:15 UTC
[GitHub] [trafficserver] masaori335 commented on issue #10153: Deprecate name_get() and value_get() function returns `const char *`
masaori335 commented on issue #10153:
URL: https://github.com/apache/trafficserver/issues/10153#issuecomment-1668714444
Note from weekly bug scrub:
----
@bryancall raised a concern about performance impact. Because he saw a performance bottleneck with `std::string_view` version before.
However, the current implementation of the `const char *` version is calling the `std::string_view` version internally, as @SolidWallOfCode pointed out.
https://github.com/apache/trafficserver/blob/f9e931441e73eb1927ab3d7b60a5c77f762cdbb8/proxy/hdrs/MIME.h#L991-L997
--
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: issues-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org