mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-01-10 19:12:54 +00:00
* compress sstable with zstd * add some details to sstable readme * compress only block which benefit from it * multiple changes to sstable make compression optional use OwnedBytes instead of impl Read in sstable, required for next point use zstd bulk api, which is much faster on small records * cleanup and use bulk api for compression * use dedicated byte for compression * switch block len and compression flag * change default zstd level in sstable
22 lines
423 B
TOML
22 lines
423 B
TOML
[package]
|
|
name = "tantivy-sstable"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
|
|
[dependencies]
|
|
common = {path="../common", package="tantivy-common"}
|
|
tantivy-fst = "0.4"
|
|
# experimental gives us access to Decompressor::upper_bound
|
|
zstd = { version = "0.12", features = ["experimental"] }
|
|
|
|
[dev-dependencies]
|
|
proptest = "1"
|
|
criterion = "0.4"
|
|
names = "0.14"
|
|
rand = "0.8"
|
|
|
|
[[bench]]
|
|
name = "stream_bench"
|
|
harness = false
|