Increase the default cache size for c_preproc

This commit is contained in:
Thomas Nagy 2016-03-19 15:18:16 +01:00
parent dc1a0d00a2
commit e8bf2731d1
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 1 additions and 1 deletions

View File

@ -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: