-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement a SIMD version of the child-pointer lookup
**Description** Implement a SIMD optimized version of the child pointer lookup operation for `InnerNodeCompressed` types. When the number of children is greater than or equal to a threshold (currently 16), the the lookup function uses SIMD instruction to look for the haystack byte in parallel. Also alphabetically sorted the nightly features and removed `maybe_uninit_write_slice` which was unused. **Motivation** This could possibly make the overall tree search function faster by increasing the speed of the InnerNode16 lookup. **Testing Done** - `cargo test && cargo test --features nightly`
- Loading branch information
Showing
2 changed files
with
69 additions
and
8 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