Skip to content

Performance optimization for case_fold#326

Open
andreasbuhr wants to merge 1 commit intoboostorg:developfrom
andreasbuhr:case_fold_fast_path
Open

Performance optimization for case_fold#326
andreasbuhr wants to merge 1 commit intoboostorg:developfrom
andreasbuhr:case_fold_fast_path

Conversation

@andreasbuhr
Copy link
Copy Markdown
Contributor

There was one call to std::lower_bound for each space, for each parenthesis, for each newline, and for each bracket. This is not required.
See https://www.unicode.org/Public/UCD/latest/ucd/CaseFolding.txt and https://www.fileformat.info/info/charset/UTF-32/list.htm

There was one call to std::lower_bound for each space,
for each parenthesis, for each newline, and for each bracket.
This is not required.
See https://www.unicode.org/Public/UCD/latest/ucd/CaseFolding.txt
and https://www.fileformat.info/info/charset/UTF-32/list.htm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant