diff options
author | Steven Knight <knight@baldmt.com> | 2003-05-15 14:09:42 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-05-15 14:09:42 (GMT) |
commit | 86f456149f218ca14a67a31d98d92379feb2b072 (patch) | |
tree | 313dec444e594790368c07782f23f54e592a51ca /src/engine/SCons/Sig | |
parent | f6ba11c5d37711d436bc1432878965fd3871eb57 (diff) | |
download | SCons-86f456149f218ca14a67a31d98d92379feb2b072.zip SCons-86f456149f218ca14a67a31d98d92379feb2b072.tar.gz SCons-86f456149f218ca14a67a31d98d92379feb2b072.tar.bz2 |
Refactor how actions get executed to eliminate a lot of redundant signature calcualations.
Diffstat (limited to 'src/engine/SCons/Sig')
-rw-r--r-- | src/engine/SCons/Sig/SigTests.py | 2 | ||||
-rw-r--r-- | src/engine/SCons/Sig/__init__.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Sig/SigTests.py b/src/engine/SCons/Sig/SigTests.py index 7e1cc40..bb3efb8 100644 --- a/src/engine/SCons/Sig/SigTests.py +++ b/src/engine/SCons/Sig/SigTests.py @@ -138,7 +138,7 @@ class DummyNode: def store_timestamp(self): pass - def builder_sig_adapter(self): + def get_executor(self): class Adapter: def get_contents(self): return 111 diff --git a/src/engine/SCons/Sig/__init__.py b/src/engine/SCons/Sig/__init__.py index cd6fe7e..cf7a86f 100644 --- a/src/engine/SCons/Sig/__init__.py +++ b/src/engine/SCons/Sig/__init__.py @@ -282,7 +282,7 @@ class Calculator: sigs = map(lambda n, c=self: n.calc_signature(c), children) if node.has_builder(): - sigs.append(self.module.signature(node.builder_sig_adapter())) + sigs.append(self.module.signature(node.get_executor())) bsig = self.module.collect(filter(lambda x: not x is None, sigs)) |