We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fb26dd commit 4336985Copy full SHA for 4336985
src/db_options.rs
@@ -1581,9 +1581,12 @@ impl Options {
1581
}
1582
1583
1584
- pub fn optimize_for_point_lookup(&mut self, cache_size: u64) {
+ // Use this if you don't need to keep the data sorted, i.e. you'll never use
1585
+ // an iterator, only Put() and Get() API calls
1586
+ //
1587
+ pub fn optimize_for_point_lookup(&mut self, block_cache_size_mb: u64) {
1588
unsafe {
- ffi::rocksdb_options_optimize_for_point_lookup(self.inner, cache_size);
1589
+ ffi::rocksdb_options_optimize_for_point_lookup(self.inner, block_cache_size_mb);
1590
1591
1592
0 commit comments