mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-28 02:38:30 +00:00
enable hashing on large-block indexes
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
aad42bdaa0
commit
bab40a3747
2 changed files with 10 additions and 11 deletions
|
@ -34,7 +34,7 @@ pub(crate) struct Descriptor {
|
|||
pub(crate) compression: CompressionType,
|
||||
pub(crate) compression_level: i32,
|
||||
pub(crate) bottommost_level: Option<i32>,
|
||||
pub(crate) block_index_hashing: bool,
|
||||
pub(crate) block_index_hashing: Option<bool>,
|
||||
pub(crate) cache_shards: u32,
|
||||
}
|
||||
|
||||
|
@ -60,7 +60,7 @@ pub(crate) static BASE: Descriptor = Descriptor {
|
|||
compression: CompressionType::Zstd,
|
||||
compression_level: 32767,
|
||||
bottommost_level: Some(32767),
|
||||
block_index_hashing: false,
|
||||
block_index_hashing: None,
|
||||
cache_shards: 64,
|
||||
};
|
||||
|
||||
|
@ -96,5 +96,6 @@ pub(crate) static SEQUENTIAL_SMALL: Descriptor = Descriptor {
|
|||
file_size: 1024 * 512,
|
||||
block_size: 512,
|
||||
cache_shards: 64,
|
||||
block_index_hashing: Some(false),
|
||||
..SEQUENTIAL
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue