summaryrefslogtreecommitdiffstats
path: root/lib/bb/methodpool.py
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2006-11-17 22:10:41 +0000
committerHolger Hans Peter Freyther <zecke@selfish.org>2006-11-17 22:10:41 +0000
commit712fe375531520eea9b68d24f49fbe9598e3c562 (patch)
treeead94f701383eca4d6107743c1571f742d106171 /lib/bb/methodpool.py
parent84a7ed3beb00581226fef0a2cdffcde9e7a1e6ea (diff)
downloadbitbake-contrib-712fe375531520eea9b68d24f49fbe9598e3c562.tar.gz
Remember that we have compiled and added this file.
This reduces the time of the new parser from 2:42 to 1:6. The old one takes 1:42 on this macbook here
Diffstat (limited to 'lib/bb/methodpool.py')
-rw-r--r--lib/bb/methodpool.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/methodpool.py b/lib/bb/methodpool.py
index e14986bc1..f0565ce79 100644
--- a/lib/bb/methodpool.py
+++ b/lib/bb/methodpool.py
@@ -83,6 +83,7 @@ def check_insert_method(modulename, code, fn):
"""
if not modulename in _parsed_methods:
return insert_method(modulename, code, fn)
+ _parsed_methods[modulename] = 1
def parsed_module(modulename):
"""