mirror of
https://github.com/qdrant/qdrant.git
synced 2026-08-07 02:20:55 -05:00
Replace the qdrant fork of stusmall/murmur3 (pinned at git rev 2c39087) with the standalone `murmur3_32` crate from crates.io. Output is bit-identical (verified offline against the previous `murmur3_32_of_slice`, including a 100k-iteration random fuzz), so existing BM25 sparse vectors remain wire-compatible. The new crate is ~10–18% faster on inputs ≥ 16 bytes, which speeds up `token_id` during tokenization. Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
249 B
TOML
17 lines
249 B
TOML
[package]
|
|
name = "bm25"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[features]
|
|
default = []
|
|
basic-tokenizer = []
|
|
serde = ["dep:serde"]
|
|
|
|
[dependencies]
|
|
murmur3_32 = { workspace = true }
|
|
serde = { workspace = true, optional = true }
|
|
|
|
[lints]
|
|
workspace = true
|