]> git.ipfire.org Git - network.git/commit
Cache system_get_processors()
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 23 Sep 2016 19:21:31 +0000 (21:21 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 23 Sep 2016 19:21:31 +0000 (21:21 +0200)
commit378835b986e163cc873c6cb07a3bdfef2109be23
treed60c8020b066da4f2a06ec1e6d5328c0a76a6726
parentde72bd9187aab8b27e4931bcd54a2ab6c091b332
Cache system_get_processors()

This function is called quite option and hence we cache
the result to speed up code execution

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.system