-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from ashvardanian/main-dev
Improved Rust and JavaScript tooling
- Loading branch information
Showing
7 changed files
with
318 additions
and
20 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,7 @@ description = "Fastest SIMD-Accelerated Vector Similarity Functions for x86 and | |
version = "4.2.2" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
authors = [ | ||
"Ash Vardanian <[email protected]>", | ||
"Pedro Planel <[email protected]>", | ||
] | ||
authors = ["Ash Vardanian <[email protected]>"] | ||
repository = "https://github.com/ashvardanian/SimSIMD" | ||
documentation = "https://docs.rs/simsimd" | ||
homepage = "https://ashvardanian.com/posts/simsimd-faster-scipy" | ||
|
@@ -38,6 +35,12 @@ name = "sqeuclidean" | |
harness = false | ||
path = "rust/benches/sqeuclidean.rs" | ||
|
||
[profile.bench] | ||
opt-level = 3 # Corresponds to -O3 | ||
lto = true # Enables Link Time Optimization for further optimizations | ||
codegen-units = 1 # May increase compilation time but optimizes further | ||
rpath = false # On some systems, setting this to false can help with optimizations | ||
|
||
[dev-dependencies] | ||
criterion = { version = "0.5.1" } | ||
rand = { version = "0.8.5" } | ||
|
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
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.