-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 08/19/2013 08:20 AM, Simo Sorce wrote:
On Mon, 2013-08-19 at 13:35 +0200, Lukas Slebodnik wrote:
ehlo,
yet another patch to improve mmap_cache.
Do you have any metrics that warrants this change ?
Please do not do this. Primes *rapidly* get further between as it gets larger. While I don't expect that our memory cache is likely to get larger than a few hundred entries, the processing time necessary to identify a prime number above that will grow prohibitively more difficult. The potential hash-collision avoidance is not worth the cost.