]> git.e2factory.org Git - e2factory.git/commit
Integrate hashcache into hash module
authorTobias Ulmer <tu@emlix.com>
Tue, 10 Dec 2013 20:26:46 +0000 (21:26 +0100)
committerTobias Ulmer <tu@emlix.com>
Wed, 16 Nov 2016 14:41:17 +0000 (15:41 +0100)
commita0c2b406481b7e9911027565c8643fc573419bd7
treebb3b354756acfd240c46fc0a663f12a28f23968e
parentf6c8280b298936eb9b24215b12872d2824cae62f
Integrate hashcache into hash module

Use hash_file_once() most everywhere. Hashcache keeps track of number of
cache hits and limits the cache to the 1000 most used.

It's also much more strict in what is considered a match.

Signed-off-by: Tobias Ulmer <tu@emlix.com>
generic/e2lib.lua
generic/hash.lua
local/digest.lua
local/e2tool.lua