rocksdb/cache
Siying Dong 21696ba502 Replace dynamic_cast<>
Summary:
Replace dynamic_cast<> so that users can choose to build with RTTI off, so that they can save several bytes per object, and get tiny more memory available.
Some nontrivial changes:
1. Add Comparator::GetRootComparator() to get around the internal comparator hack
2. Add the two experiemental functions to DB
3. Add TableFactory::GetOptionString() to avoid unnecessary casting to get the option string
4. Since 3 is done, move the parsing option functions for table factory to table factory files too, to be symmetric.
Closes https://github.com/facebook/rocksdb/pull/2645

Differential Revision: D5502723

Pulled By: siying

fbshipit-source-id: fd13cec5601cf68a554d87bfcf056f2ffa5fbf7c
2017-07-28 16:27:16 -07:00
..
cache_bench.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
cache_test.cc Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
clock_cache.cc Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
clock_cache.h Change RocksDB License 2017-07-15 16:11:23 -07:00
lru_cache.cc LRUCacheShard cache line size alignment 2017-07-24 10:54:37 -07:00
lru_cache.h LRUCacheShard cache line size alignment 2017-07-24 10:54:37 -07:00
lru_cache_test.cc LRUCacheShard cache line size alignment 2017-07-24 10:54:37 -07:00
sharded_cache.cc Revert "comment out unused parameters" 2017-07-21 18:26:26 -07:00
sharded_cache.h Change RocksDB License 2017-07-15 16:11:23 -07:00