Siying Dong
26da3676d9
class Block to store num_restarts_
...
Summary:
Right now, every Block::NewIterator() reads num_restarts_ from the block, which is already read in Block::Block(). This sometimes cause a CPU cache miss. Although fetching this cacheline can usually benefit follow-up block restart offset reading, as they are close to each other, it's almost free to get ride of this read by storing it in the Block class.
Closes https://github.com/facebook/rocksdb/pull/3869
Differential Revision: D8052493
Pulled By: siying
fbshipit-source-id: 9c72360f0c2d7329f3c198ce4eaedd2bc14b87c1
2018-05-18 12:56:55 -07:00
..
2018-03-05 13:13:41 -08:00
2018-03-05 13:13:41 -08:00
2018-03-21 23:13:05 -07:00
2018-03-27 15:13:56 -07:00
2018-03-21 23:13:05 -07:00
2018-03-26 20:26:10 -07:00
2018-03-26 20:26:10 -07:00
2018-04-12 17:59:16 -07:00
2018-03-26 20:26:10 -07:00
2018-05-17 02:56:56 -07:00
2018-05-17 02:56:56 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-03-23 13:26:55 -07:00
2017-12-12 12:12:38 -08:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-03-05 13:13:41 -08:00
2018-05-18 12:56:55 -07:00
2018-05-18 12:56:55 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-04-15 17:26:26 -07:00
2017-10-19 10:57:12 -07:00
2017-07-15 16:11:23 -07:00
2018-03-05 13:13:41 -08:00
2018-04-12 17:59:16 -07:00
2018-04-15 17:26:26 -07:00
2018-05-17 02:56:56 -07:00
2018-03-05 13:13:41 -08:00
2018-03-21 23:13:05 -07:00
2018-03-26 20:26:10 -07:00
2018-02-15 16:57:37 -08:00
2018-04-12 17:59:16 -07:00
2018-04-24 10:58:16 -07:00
2018-04-26 13:28:31 -07:00
2018-04-26 13:28:31 -07:00
2018-04-26 13:28:31 -07:00
2018-04-12 17:59:16 -07:00
2018-04-05 15:58:48 -07:00
2017-10-19 10:57:12 -07:00
2018-03-05 13:13:41 -08:00
2018-05-17 02:56:56 -07:00
2017-09-11 12:04:21 -07:00
2018-05-17 02:56:56 -07:00
2018-03-05 13:13:41 -08:00
2017-09-11 12:04:21 -07:00
2018-05-17 02:56:56 -07:00
2017-10-11 14:57:43 -07:00
2017-12-11 15:27:32 -08:00
2017-08-11 12:16:45 -07:00
2018-04-05 15:58:48 -07:00
2018-03-05 13:13:41 -08:00
2017-12-12 21:11:33 -08:00
2018-04-12 17:59:16 -07:00
2018-04-09 16:28:19 -07:00
2018-04-12 17:59:16 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2017-07-15 16:11:23 -07:00
2018-03-05 13:13:41 -08:00
2018-03-05 13:13:41 -08:00
2017-07-15 16:11:23 -07:00
2017-12-07 11:57:36 -08:00
2018-03-05 13:13:41 -08:00
2017-07-15 16:11:23 -07:00
2018-05-17 02:56:56 -07:00
2017-07-27 14:30:42 -07:00
2017-07-15 16:11:23 -07:00
2018-03-05 13:13:41 -08:00
2018-03-08 10:27:25 -08:00
2017-10-27 15:00:05 -07:00
2018-01-10 17:11:58 -08:00
2018-01-10 17:11:58 -08:00
2018-04-12 17:59:16 -07:00
2018-03-05 13:13:41 -08:00
2018-05-17 02:56:56 -07:00
2018-05-17 02:56:56 -07:00
2018-04-15 17:26:26 -07:00