Yi Wu df5eeb85ca Optimize sequential insert into memtable - Part 2: Implementation
Summary:
Implement a insert hint into skip-list to hint insert position. This is
to optimize for the write workload where there are multiple stream of
sequential writes. For example, there is a stream of keys of a1, a2,
a3... but also b1, b2, b2... Each stream are not neccessary strictly
sequential, but can get reorder a little bit. User can specify a prefix
extractor and the `SkipListRep` can thus maintan a hint for each of the
stream for fast insert into memtable.

This is the internal implementation part. See #1419 for the interface part.
See inline comments for details.
Closes https://github.com/facebook/rocksdb/pull/1449

Differential Revision: D4106781

Pulled By: yiwu-arbug

fbshipit-source-id: f4d48c4
2016-11-13 13:09:16 -08:00
..
2016-10-31 20:54:18 -07:00
2016-10-31 20:54:18 -07:00
2016-11-03 18:54:20 -07:00
2016-09-13 21:11:59 -07:00
2016-11-03 18:54:20 -07:00
2016-11-04 12:09:22 -07:00
2016-11-04 12:09:22 -07:00
2016-11-10 11:09:22 -08:00
2016-09-27 18:20:57 -07:00
2016-10-31 20:54:18 -07:00
2016-10-31 20:54:18 -07:00
2016-07-08 17:50:51 -07:00
2016-10-13 08:48:40 -07:00
2016-07-08 17:50:51 -07:00
2016-11-03 18:54:20 -07:00
2016-11-03 18:54:20 -07:00
2016-11-03 18:54:20 -07:00
2016-10-31 20:54:18 -07:00
2016-09-27 18:20:57 -07:00
2016-09-27 18:20:57 -07:00
2016-07-13 15:36:22 -07:00
2016-06-25 08:29:40 +01:00