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
..
2015-04-23 21:33:44 -07:00
2014-09-04 09:10:13 +08:00
2014-10-31 11:59:54 -07:00
2015-03-17 14:08:00 -07:00
2014-11-06 11:14:28 -08:00
2015-02-26 11:28:41 -08:00
2015-07-01 16:13:56 -07:00
2015-09-02 16:05:53 -07:00