mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
[For Performance Branch] Bloom filter in PlainTableIterator::Seek() - Update 1
Summary: Address @haobo's comments in D14277 Test Plan: ./indexed_table_db_test Reviewers: haobo CC: Task ID: # Blame Rev:
This commit is contained in:
@@ -242,7 +242,9 @@ int main(int argc, char** argv) {
|
||||
if (FLAGS_plain_table) {
|
||||
options.allow_mmap_reads = true;
|
||||
env_options.use_mmap_reads = true;
|
||||
tf = new rocksdb::PlainTableFactory(16, FLAGS_prefix_len, FLAGS_prefix_len);
|
||||
tf = new rocksdb::PlainTableFactory(16, FLAGS_prefix_len,
|
||||
(FLAGS_prefix_len == 16) ? 0 : 8,
|
||||
0.75);
|
||||
} else {
|
||||
tf = new rocksdb::BlockBasedTableFactory();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user