Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SIMD for UTF-8 to UTF-32 conversion #20

Open
christianparpart opened this issue Jul 6, 2021 · 1 comment
Open

Use SIMD for UTF-8 to UTF-32 conversion #20

christianparpart opened this issue Jul 6, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@christianparpart
Copy link
Member

christianparpart commented Jul 6, 2021

And maybe also u8-to-u16.

Get inspired by https://github.com/BobSteagall/utf_utils/blob/master/src/utf_utils.cpp#L1126 to see how he has been doing that.

Non-supported platforms should automatically fall back to the classical algorithm.

Then test if (and if: then how much) the performance gain will be on contour throughout benchmarks.

@christianparpart christianparpart added the enhancement New feature or request label Jul 6, 2021
@data-man
Copy link
Contributor

data-man commented Jul 7, 2021

Just for a record: benchmarks are in my ToDos (using very nice https://github.com/martinus/nanobench).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants