Dhruba Borthakur 197034e4c3 An iterator may automatically invoke reseeks.
Summary:
An iterator invokes reseek if the number of sequential skips over the
same userkey exceeds a configured number. This makes iter->Next()
faster (bacause of fewer key compares) if a large number of
adjacent internal keys in a table (sst or memtable) have the
same userkey.

Test Plan: Unit test DBTest.IterReseek.

Reviewers: emayanke, haobo, xjin

Reviewed By: xjin

CC: leveldb, xjin

Differential Revision: https://reviews.facebook.net/D11865
2013-09-06 11:50:53 -07:00
..
2013-06-14 16:17:56 -07:00
2013-02-28 18:04:58 -08:00
2013-08-22 23:10:02 -07:00
2013-08-22 23:10:02 -07:00
2013-02-28 18:04:58 -08:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2013-04-20 10:26:51 -07:00
2013-02-28 18:04:58 -08:00
2013-08-23 15:39:49 -07:00