// OptimizeForPointLookup optimize the DB for point lookups. // // Use this if you don't need to keep the data sorted, i.e. you'll never use // an iterator, only Put() and Get() API calls func (opts *Options) OptimizeForPointLookup(block_cache_size_mb uint64) { C.rocksdb_options_optimize_for_point_lookup(opts.c, C.uint64_t(block_cache_size_mb)) }
// OptimizeForPointLookup optimize the DB for point lookups. // // Use this if you don't need to keep the data sorted, i.e. you'll never use // an iterator, only Put() and Get() API calls func (o *Options) OptimizeForPointLookup(blockCacheSizeMB uint64) { C.rocksdb_options_optimize_for_point_lookup(o.c, C.uint64_t(blockCacheSizeMB)) }