summaryrefslogtreecommitdiffstats
path: root/RELEASE.txt
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2024-06-15 18:53:50 (GMT)
committerMats Wichmann <mats@linux.com>2024-06-15 18:53:50 (GMT)
commit2303fb98830df908322edce751717c51ef82062d (patch)
treecf5f16545d0ff90d8414f1d1a7c75a7d49fb2bad /RELEASE.txt
parenta6f498306730b333c81cef8bbf135e26e3acb360 (diff)
downloadSCons-2303fb98830df908322edce751717c51ef82062d.zip
SCons-2303fb98830df908322edce751717c51ef82062d.tar.gz
SCons-2303fb98830df908322edce751717c51ef82062d.tar.bz2
Update to current fastest env setitem
Updated and re-ran benchmark tests for SubstitutionEnvironment.__setitem__. Added test for new (Python 3.0) string.isidentifier() method. That's actually exactly what we want, and it times out as the fastest method when combined with a membership test if the variable is already defined. Tweaked some comments about this performance consideration, and did other updates in bench/. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'RELEASE.txt')
-rw-r--r--RELEASE.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/RELEASE.txt b/RELEASE.txt
index 8955e46..df6f7c1 100644
--- a/RELEASE.txt
+++ b/RELEASE.txt
@@ -69,6 +69,9 @@ IMPROVEMENTS
- Make the testing framework a little more resilient: the temporary
directory for tests now includes a component named "scons" which can
be given to antivirus software to exclude.
+- Performance tweak: the __setitem__ method of an Environment, used for
+ setting construction variables, now uses the string method isidentifier
+ to validate the name (updated from microbenchmark results).
PACKAGING
---------