mirror of https://gitlab.com/ita1024/waf.git
Increase the default cache size for c_preproc
This commit is contained in:
parent
dc1a0d00a2
commit
e8bf2731d1
|
@ -821,7 +821,7 @@ class c_parser(object):
|
|||
try:
|
||||
cache = node.ctx.preproc_cache_node
|
||||
except AttributeError:
|
||||
cache = node.ctx.preproc_cache_node = Utils.lru_cache(500)
|
||||
cache = node.ctx.preproc_cache_node = Utils.lru_cache(1000)
|
||||
|
||||
key = (node, filename)
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue