Siying Dong 33042669f6 Reduce malloc of iterators in Get() code paths
Summary:
This patch optimized Get() code paths by avoiding malloc of iterators. Iterator creation is moved to mem table rep implementations, where a callback is called when any key is found. This is the same practice as what we do in (SST) table readers.

db_bench result for readrandom following a writeseq, with no compression, single thread and tmpfs, we see throughput improved to 144958 from 139027, about 3%.

Test Plan: make all check

Reviewers: dhruba, haobo, igor

Reviewed By: haobo

CC: leveldb, yhchiang

Differential Revision: https://reviews.facebook.net/D14685
2014-02-11 10:32:51 -08:00
..
2013-12-10 10:48:35 +02:00
2014-02-03 10:25:37 -08:00
2014-01-22 10:55:16 -08:00
2014-01-22 10:55:16 -08:00
2014-02-08 14:15:51 -08:00
2014-02-10 20:15:09 -08:00
2014-02-08 14:15:51 -08:00
2013-10-25 08:32:14 -07:00
2014-01-29 20:40:41 -08:00
2014-01-29 20:40:41 -08:00
2014-01-27 14:49:10 -08:00
2014-01-27 14:49:10 -08:00
2014-01-27 14:49:10 -08:00
2014-01-17 12:46:06 -08:00
2014-01-30 22:10:10 -08:00
2014-01-23 16:26:08 -08:00