Performance Improvement for AsciiCaseInsensitive
Summary: This implementation improves the performance of AsciiCaseInsensitive. AsciiCaseInsensitive uses toupper, and it's slow. Since toupper only works for ascii characters and this function does exactly the same thing over the range of [0..256), we can gain 3x performance here. Test Plan: unit test and benchmark Reviewed By: lucian@fb.com FB internal diff: D1217596 @override-unit-failures
Showing
Please register or sign in to comment