Simplify Capitalize Function (#12879)
* Simplify the capitalize function using ASCII arithmetic to make the algorithm five times faster. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update capitalize.py * Update capitalize.py --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Maxim Smolskiy <[email protected]>
M
Milad Khoshdel committed
a8c5616857bb15d61ee764671820ad82a5197219
Parent: e224532
Committed by GitHub <[email protected]>
on 8/24/2025, 10:07:39 AM