-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(C++): The use of SIMD accelerated to implement and optimize utf1…
…6 utf8 (#1732) <!-- **Thanks for contributing to Fury.** **If this is your first time opening a PR on fury, you can refer to [CONTRIBUTING.md](https://github.com/apache/fury/blob/main/CONTRIBUTING.md).** Contribution Checklist - The **Apache Fury (incubating)** community has restrictions on the naming of pr titles. You can also find instructions in [CONTRIBUTING.md](https://github.com/apache/fury/blob/main/CONTRIBUTING.md). - Fury has a strong focus on performance. If the PR you submit will have an impact on performance, please benchmark it first and provide the benchmark result here. --> ## What does this PR do? Use SIMD acceleration to implement and optimize utf16 to utf8. Adapter x86, arm and risc-v Add 8 tests verify the function <img width="261" alt="fury_cpp_simd_utf_1" src="https://github.com/user-attachments/assets/029fe6ea-b4be-4e26-85d2-3c5e02e64899"> And efficiency has improved <img width="401" alt="fury_cpp_simd_utf_2" src="https://github.com/user-attachments/assets/6e86c125-f5a2-46df-b3bd-3d12496e9238"> done. ## Related issues Closes #1546 <!-- Is there any related issue? Please attach here. - #xxxx0 - #xxxx1 - #xxxx2 --> ## Does this PR introduce any user-facing change? <!-- If any user-facing interface changes, please [open an issue](https://github.com/apache/fury/issues/new/choose) describing the need to do so and update the document if necessary. --> - [x] Does this PR introduce any public API change? - [ ] Does this PR introduce any binary protocol compatibility change?
- Loading branch information
1 parent
b32f3f9
commit caf0e48
Showing
3 changed files
with
503 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.