Chromium Code Reviews
DescriptionMake constructors recognize const char[n] vs. char* and avoid strlen calls.
Not an issue for bytestrings, but for widestrings, the compiler doesn't seem to optimize wcslen() calls away.
Patch Set 1 #Patch Set 2 : deal with stack buffers, etc. #Patch Set 3 : Delegated constructors everywhere. #
Total comments: 1
Messages
Total messages: 4 (1 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||