/
dieoska
/
ddnet
Обзор
Документация
Войти
/
dieoska
/
ddnet
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/base/unicode/tolower.cpp
7 строк
194 B
Robert Müller
Improve performance of `str_utf8_tolower_codepoint` function
09 июн 2025, 22:26
09 июн 2025, 22:26
906edaa
Код
Авторство
О чём код?
#include "tolower_data.h" int str_utf8_tolower_codepoint(int code) { auto it = UPPER_TO_LOWER_CODEPOINT_MAP.find(code); return it == UPPER_TO_LOWER_CODEPOINT_MAP.end() ? code : it->second; }