commented out timestamp hack

git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@2549 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
This commit is contained in:
michim 2011-05-12 21:06:31 +00:00
parent 49b4d4ebdb
commit c9695d4fd1

View file

@ -87,12 +87,15 @@ public:
static int compare(const byte* k1,size_t k1l, const byte* k2, size_t k2l) {
const size_t ts_sz = sizeof(int64_t)+1;
#if 0
// hack for gc
if(k1l > ts_sz && ! k1[k1l-ts_sz]) {
k1l -= ts_sz;
}
if(k2l > ts_sz && ! k2[k2l-ts_sz]) {
k2l -= ts_sz;
}
#endif
size_t min_l = k1l < k2l ? k1l : k2l;