Skip to content

Commit d811710

Browse files
committed
perf(data): move openquant.data hot paths to LazyFrame and add benchmark scaffold
1 parent 769cb33 commit d811710

23 files changed

Lines changed: 6732 additions & 464 deletions

Cargo.lock

Lines changed: 2040 additions & 144 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[workspace]
22
members = ["crates/openquant", "crates/pyopenquant"]
33
resolver = "2"
4+
5+
[patch.crates-io]
6+
pyo3-polars = { path = "vendor/pyo3-polars" }

crates/openquant/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ statrs = "0.16"
2020
rand_distr = "0.4"
2121
nalgebra = "0.32"
2222
csv = "1"
23+
polars = { version = "0.46", default-features = false, features = ["strings", "lazy"] }
2324

2425
[dev-dependencies]
2526
csv = "1"

0 commit comments

Comments
 (0)