rocksdb/include/rocksdb
Andres Noetzli 6bdc484fd8 Added Equal method to Comparator interface
Summary:
In some cases, equality comparisons can be done more efficiently than three-way
comparisons. There are quite a few places in the code where we only care about
equality. This patch adds an Equal() method that defaults to using the
Compare() method.

Test Plan: make clean all check

Reviewers: rven, anthony, yhchiang, igor, sdong

Reviewed By: igor

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D46233
2015-09-08 15:30:49 -07:00
..
utilities Adding a verifyBackup method to BackupEngine 2015-09-03 17:27:21 -07:00
c.h Deprecate CompactionFilterV2 2015-07-17 18:59:11 +02:00
cache.h Add Cache.GetPinnedUsageUsage() 2015-06-18 13:56:31 -07:00
compaction_filter.h Add missing include to use std::unique_ptr 2014-08-23 13:02:21 -04:00
compaction_job_stats.h [Parallel L0-L1 Compaction Prep]: Giving Subcompactions Their Own State 2015-08-18 11:06:23 -07:00
comparator.h Added Equal method to Comparator interface 2015-09-08 15:30:49 -07:00
convenience.h ColumnFamilyOptions serialization / deserialization. 2015-08-26 16:13:56 -07:00
db.h Correct the comment for GetProperty() API. 2015-08-25 16:45:23 -07:00
delete_scheduler.h Rate limit deletes issued by DestroyDB 2015-08-19 15:02:17 -07:00
env.h Make WinEnv::NowMicros return system time 2015-09-02 11:12:07 -07:00
experimental.h Implement DB::PromoteL0 method 2015-04-23 12:10:36 -07:00
filter_policy.h Implement full filter for block based table. 2014-09-08 10:37:05 -07:00
flush_block_policy.h move block based table related options BlockBasedTableOptions 2014-08-25 14:22:05 -07:00
immutable_options.h ReadaheadRandomAccessFile -- userspace readahead 2015-08-26 15:25:59 -07:00
iostats_context.h Add options.compaction_measure_io_stats to print write I/O stats in compactions 2015-08-13 16:52:26 -07:00
iterator.h Add License message to public header files. 2013-11-18 10:21:35 -08:00
ldb_tool.h [RocksDB] allow LDB tool to have customized key formatter 2014-06-23 15:35:40 -07:00
listener.h Add largest sequence to FlushJobInfo 2015-06-11 15:22:22 -07:00
memtablerep.h Allow GetApproximateSize() to include mem table size if it is skip list memtable 2015-06-16 18:13:23 -07:00
merge_operator.h Better CompactionJob testing 2015-08-07 21:59:51 -07:00
metadata.h Windows Port from Microsoft 2015-07-01 16:13:56 -07:00
options.h Add ZSTD (not final format) compression type 2015-08-28 11:01:13 -07:00
perf_context.h Ensure Windows build w/o port/port.h in public headers 2015-07-16 12:10:16 -07:00
perf_level.h more times in perf_context and iostats_context 2015-06-02 02:07:58 -07:00
rate_limiter.h Replace BackupRateLimiter with GenericRateLimiter 2015-09-03 17:00:09 -07:00
slice_transform.h Unaddressed comment in previous diff. Change only in code comments. 2015-01-30 16:07:35 -08:00
slice.h Commit both PR and internal code review changes 2015-07-07 16:58:20 -07:00
snapshot.h simple ManagedSnapshot wrapper 2015-08-06 17:59:05 -07:00
sst_dump_tool.h Dump routine to BlockBasedTableReader 2014-12-23 13:24:07 -08:00
statistics.h Add Statistics.getHistogramString() to print more detailed outputs of a histogram 2015-08-05 20:05:56 -07:00
status.h Support static Status messages 2015-08-31 16:13:29 -07:00
table_properties.h Expose per-level aggregated table properties via GetProperty() 2015-08-25 12:03:54 -07:00
table.h Move rate_limiter, write buffering, most perf context instrumentation and most random kill out of Env 2015-07-17 16:58:18 -07:00
thread_status.h Deprecate CompactionFilterV2 2015-07-17 18:59:11 +02:00
transaction_log.h "make format" against last 10 commits 2015-07-13 13:50:18 -07:00
types.h Add License message to public header files. 2013-11-18 10:21:35 -08:00
universal_compaction.h Enabling trivial move in universal compaction 2015-07-07 14:18:55 -07:00
version.h Change master to 3.14 2015-08-13 11:17:10 -07:00
write_batch_base.h WriteBatch Save Points 2015-07-29 16:54:23 -07:00
write_batch.h WriteBatch Save Points 2015-07-29 16:54:23 -07:00