Add a Memoizer metaclass to collect the logic for caching values in one location...
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Wed, 29 Dec 2004 21:04:56 +0000 (21:04 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Wed, 29 Dec 2004 21:04:56 +0000 (21:04 +0000)
commit6ccc8aa061317b716598bfbfcb5a55458a601166
tree12b6722f049211b37574477e82ab5c49a0521052
parent69b34327e13b37afb4ee7a2a48781b700639215c
Add a Memoizer metaclass to collect the logic for caching values in one location.  Convert by-hand caching to use of Memoizer.  (Kevin Quick)

git-svn-id: http://scons.tigris.org/svn/scons/trunk@1196 fdb21ef1-2011-0410-befe-b5e4ea1792b1
26 files changed:
src/CHANGES.txt
src/engine/MANIFEST.in
src/engine/SCons/Action.py
src/engine/SCons/ActionTests.py
src/engine/SCons/Builder.py
src/engine/SCons/BuilderTests.py
src/engine/SCons/Environment.py
src/engine/SCons/EnvironmentTests.py
src/engine/SCons/Executor.py
src/engine/SCons/ExecutorTests.py
src/engine/SCons/Memoize.py [new file with mode: 0644]
src/engine/SCons/Node/FS.py
src/engine/SCons/Node/FSTests.py
src/engine/SCons/Node/NodeTests.py
src/engine/SCons/Node/__init__.py
src/engine/SCons/Scanner/CTests.py
src/engine/SCons/Scanner/D.py
src/engine/SCons/Scanner/Fortran.py
src/engine/SCons/Scanner/Prog.py
src/engine/SCons/Scanner/ScannerTests.py
src/engine/SCons/Scanner/__init__.py
src/engine/SCons/UserTuple.py [deleted file]
src/engine/SCons/__init__.py
test/DirSource.py
test/Repository/LIBPATH.py
test/scan-once.py