Peter Dillinger
90e285efde
Fix some implicit conversions in filter_bench ( #5894 )
...
Summary:
Fixed some spots where converting size_t or uint_fast32_t to
uint32_t. Wrapped mt19937 in a new Random32 class to avoid future
such traps.
NB: I tried using Random32::Uniform (std::uniform_int_distribution) in
filter_bench instead of fastrange, but that more than doubled the dry
run time! So I added fastrange as Random32::Uniformish. ;)
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5894
Test Plan: USE_CLANG=1 build, and manual re-run filter_bench
Differential Revision: D17825131
Pulled By: pdillinger
fbshipit-source-id: 68feee333b5f8193c084ded760e3d6679b405ecd
2019-10-08 19:22:07 -07:00
..
2019-05-24 10:05:40 -07:00
2019-05-30 17:44:09 -07:00
2019-03-20 10:42:04 -07:00
2019-09-19 12:34:17 -07:00
2019-10-03 13:19:20 -07:00
2019-10-02 15:33:48 -07:00
2019-04-18 10:55:01 -07:00
2017-07-15 16:11:23 -07:00
2017-07-31 12:12:03 -07:00
2018-09-05 18:13:31 -07:00
2019-05-30 11:25:51 -07:00
2017-10-19 10:57:12 -07:00
2019-07-25 15:27:39 -07:00
2019-05-03 17:30:22 -07:00
2019-06-05 23:10:47 -07:00
2018-06-05 12:58:02 -07:00
2018-06-05 12:58:02 -07:00
2019-08-23 08:27:30 -07:00
2018-12-26 13:59:35 -08:00
2019-09-19 12:34:17 -07:00
2017-07-15 16:11:23 -07:00
2019-09-20 12:04:26 -07:00
2019-09-20 12:04:26 -07:00
2019-05-21 16:22:35 -07:00
2019-05-21 16:22:35 -07:00
2019-06-24 16:12:39 -07:00
2019-05-21 16:22:35 -07:00
2019-05-30 11:25:51 -07:00
2019-07-15 11:20:26 -07:00
2017-08-31 14:16:30 -07:00
2019-06-06 13:56:07 -07:00
2019-09-20 12:04:26 -07:00
2019-09-20 12:04:26 -07:00
2019-09-20 12:04:26 -07:00
2019-09-16 10:33:51 -07:00
2019-05-30 17:44:09 -07:00
2019-10-08 19:22:07 -07:00
2017-07-15 16:11:23 -07:00
2019-10-07 20:10:53 -07:00
2017-07-15 16:11:23 -07:00
2019-09-20 12:04:26 -07:00
2018-07-13 10:58:06 -07:00
2019-09-05 14:59:25 -07:00
2017-12-01 10:42:05 -08:00
2018-12-17 13:20:51 -08:00
2019-04-08 13:32:06 -07:00
2019-09-16 10:33:51 -07:00
2018-07-13 10:58:06 -07:00
2017-07-15 16:11:23 -07:00
2019-09-19 12:34:17 -07:00
2019-05-21 16:22:35 -07:00
2017-07-15 16:11:23 -07:00
2019-10-08 19:22:07 -07:00
2019-09-20 12:04:26 -07:00
2019-05-30 17:44:09 -07:00
2017-10-04 19:15:01 -07:00
2019-05-30 17:44:09 -07:00
2019-05-30 11:25:51 -07:00
2018-03-05 23:57:12 -08:00
2019-05-30 11:25:51 -07:00
2019-02-14 14:41:36 -08:00
2019-09-16 21:01:47 -07:00
2017-07-15 16:11:23 -07:00
2019-03-01 10:42:09 -08:00
2019-08-23 13:55:34 -07:00
2019-08-23 13:55:34 -07:00
2019-05-30 11:25:51 -07:00
2019-05-30 17:44:09 -07:00
2018-10-09 16:58:25 -07:00
2018-06-04 12:12:48 -07:00
2018-10-05 15:41:17 -07:00
2019-09-20 12:04:26 -07:00
2018-04-24 08:41:51 -07:00
2017-07-15 16:11:23 -07:00
2019-05-30 11:25:51 -07:00
2019-03-27 10:34:27 -07:00
2018-07-13 10:58:06 -07:00
2019-09-18 15:25:48 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00