Islam AbdelRahman 7c14abf2c7 Improve BytewiseComparatorImpl::FindShortestSeparator
Summary:
The current implementation find the first different byte and try to increment it, if it cannot it return the original key
we can improve this by keep going after the first different byte to find the first non 0xFF byte and increment it

After trying this patch on some logdevice sst files I see decrease in there index block size by 8.5%

Test Plan: existing tests and updated test

Reviewers: yhchiang, andrewkr, sdong

Reviewed By: sdong

Subscribers: andrewkr, dhruba

Differential Revision: https://reviews.facebook.net/D56241
2016-04-25 23:02:14 -07:00
..
2016-04-06 23:10:32 -07:00
2016-04-18 09:42:50 -07:00
2016-04-18 09:42:50 -07:00
2016-04-25 12:01:01 -07:00
2016-04-18 09:42:50 -07:00
2016-04-18 09:42:50 -07:00
2016-03-18 15:18:42 -07:00
2016-04-06 23:10:32 -07:00