summaryrefslogtreecommitdiff
path: root/main/performance.h
diff options
context:
space:
mode:
authorAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2019-03-07 17:51:59 +0200
committerAndrii Doroshenko (Xrayez) <xrayez@gmail.com>2019-04-05 11:10:15 +0300
commit34e67374132a7b99054b445c35a2caeee7c46160 (patch)
treea27b80d0b5762d15cbd25f3daf55a6740f3a970f /main/performance.h
parentb376273f1b30b1187731b318c0f6eb0447acd289 (diff)
Reorder reverse caps characters table for string lower case conversion
The binary search algorithm used to lookup character codes in the table relies that the data must be ordered. This fixes `to_lower()` string method to convert upper case to lower case properly, so that the algorithm doesn't terminate prematurely. Co-authored-by: AndreevAndrei (avandrei) <avandrei@MacBookAAV.local>
Diffstat (limited to 'main/performance.h')
0 files changed, 0 insertions, 0 deletions