-----BEGIN PGP SIGNED MESSAGE-----
On 08/19/2013 08:20 AM, Simo Sorce wrote:
On Mon, 2013-08-19 at 13:35 +0200, Lukas Slebodnik wrote:
> 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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
-----END PGP SIGNATURE-----