Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
36ea32c
build(pyproject): dynamic version metadata field
lmmx Feb 28, 2025
aba59b1
feat: initial draft
lmmx Feb 28, 2025
ec48030
Merge branch 'ion-elgreco:main' into feat-float32-support
lmmx Mar 6, 2025
6948147
fix: remove dead code
lmmx Mar 6, 2025
621b4cc
chore: delete old code
lmmx Mar 6, 2025
882cde9
refactor(expressions): Create reusable helper for distance array outp…
lmmx Mar 6, 2025
d091eed
test: add float32 columns to test data; make old f32->f64 implicit ca…
lmmx Mar 6, 2025
87e3090
test: check casting in both orders
lmmx Mar 6, 2025
5eb9798
feat: use both input field dtypes (f32+f32->f32, either f64->f64)
lmmx Mar 6, 2025
03cd7ca
refactor the type determination out from the distance call
lmmx Mar 6, 2025
a79162a
refactor(expressions): Extract array dtype casting logic into reusabl…
lmmx Mar 6, 2025
7899535
refactor(expressions): add generic distance computation with type cal…
lmmx Mar 6, 2025
c5968af
fix: convert ChunkedArray to Series in compute_array_distance function
lmmx Mar 6, 2025
2f77953
revert: put the series conversion in the closure, avoid generic retur…
lmmx Mar 6, 2025
59e782a
chore: delete unused code
lmmx Mar 6, 2025
f990baf
feat: use generic distances
lmmx Mar 6, 2025
a78b711
feat: generic functions for the distances
lmmx Mar 6, 2025
98f2715
style: put minkowski after its required function
lmmx Mar 6, 2025
419f641
feat: turn on generic array distance functions
lmmx Mar 6, 2025
30e8549
fix: missing traits
lmmx Mar 6, 2025
c8ec53a
fix: misnamed
lmmx Mar 6, 2025
f8c31b5
fix: bugfixes
lmmx Mar 6, 2025
74ed4c0
fix: misnamed
lmmx Mar 6, 2025
63052bf
fix: num_traits moved (1)
lmmx Mar 6, 2025
42abde9
fix: num-traits dependency (2)
lmmx Mar 6, 2025
b3573cb
fix: typo
lmmx Mar 6, 2025
b975b54
fix: no Float re-import
lmmx Mar 6, 2025
0da0e78
fix: more build error fixes
lmmx Mar 6, 2025
a8df1ad
fix: missed type annotation
lmmx Mar 6, 2025
f6a8ca8
fix: tests pass :tada:
lmmx Mar 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions polars_distance/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ serde = { version = "1", features = ["derive"] }
distances = { version = "1.6.3"}
rapidfuzz = { version = "0.5.0"}
gestalt_ratio = { version = "0.2.1"}
num-traits = { version = "0.2" }

[target.'cfg(target_os = "linux")'.dependencies]
jemallocator = { version = "0.5", features = ["disable_initial_exec_tls"] }
Expand Down
2 changes: 1 addition & 1 deletion polars_distance/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ readme = "README.md"


[tool.maturin]
module-name = "polars_distance._internal"
module-name = "polars_distance._internal"
Loading
Loading