Files
rippled/util
Kai Liu cd535c2280 Optimize MayContainHash()
Summary:
In latest leaf's, MayContainHash() consistently consumes 5%~7% CPU usage.

I checked the code and did an experiment with/without inlining this method.

In release mode, with `1024 * 1024 * 256` bits and `1024 * 512` entries, both call 2^30 MayContainHash() with distinctive parameters.

As the result showed, this patch reduced the running time from 9.127 sec to 7.891 sec.

Test Plan: make check

Reviewers: sdong, haobo

CC: leveldb

Differential Revision: https://reviews.facebook.net/D15177
2014-01-14 22:03:57 -08:00
..
2014-01-06 11:11:19 -08:00
2014-01-02 16:43:35 -08:00
2013-10-23 14:38:52 -07:00
2013-11-16 11:21:34 +00:00
2014-01-02 16:43:35 -08:00
2013-12-09 14:06:52 -08:00
2013-12-09 14:06:52 -08:00
2014-01-14 22:03:57 -08:00
2014-01-14 22:03:57 -08:00
2013-11-07 11:31:56 -08:00
2013-11-12 21:22:32 -08:00
2013-12-06 16:51:35 -08:00
2013-12-03 12:42:15 -08:00