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
..
c.h
2015-07-17 18:59:11 +02:00
2015-06-18 13:56:31 -07:00
2015-04-23 12:10:36 -07:00
2015-08-07 21:59:51 -07:00
2015-07-01 16:13:56 -07:00
2015-08-06 17:59:05 -07:00
2015-08-31 16:13:29 -07:00
2015-07-17 18:59:11 +02:00
2015-08-13 11:17:10 -07:00
2015-07-29 16:54:23 -07:00
2015-07-29 16:54:23 -07:00