rocksdb/utilities/write_batch_with_index
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
..
write_batch_with_index.cc Added Equal method to Comparator interface 2015-09-08 15:30:49 -07:00
write_batch_with_index_internal.cc WriteBatch Save Points 2015-07-29 16:54:23 -07:00
write_batch_with_index_internal.h Unified maps with Comparator for sorting, other cleanup 2015-09-02 13:58:22 -07:00
write_batch_with_index_test.cc WriteBatch Save Points 2015-07-29 16:54:23 -07:00