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

Initial refactor of vector types to allow on-heap and off-heap repres… #90

Closed
wants to merge 7 commits into from

Conversation

tjake
Copy link
Collaborator

@tjake tjake commented Sep 20, 2023

…entations

@tjake tjake linked an issue Sep 20, 2023 that may be closed by this pull request
@tjake
Copy link
Collaborator Author

tjake commented Sep 22, 2023

Sadly, this approach is much slower:

Benchmark                                 Mode  Cnt        Score        Error   Units
SimilarityBench.dotProductArray          thrpt    3  4551812.518 ± 751877.546  ops/ms
SimilarityBench.dotProductArray:·async   thrpt               NaN                  ---
SimilarityBench.dotProductMemory         thrpt    3  2195843.354 ± 177117.603  ops/ms
SimilarityBench.dotProductMemory:·async  thrpt               NaN                  ---
SimilarityBench.dotProductNative         thrpt    3   483524.241 ±  29822.702  ops/ms
SimilarityBench.dotProductNative:·async  thrpt               NaN                  ---

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.

Add native simd vector support
1 participant