diff options
author | Mats Wichmann <mats@linux.com> | 2024-06-15 18:53:50 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2024-06-15 18:53:50 (GMT) |
commit | 2303fb98830df908322edce751717c51ef82062d (patch) | |
tree | cf5f16545d0ff90d8414f1d1a7c75a7d49fb2bad /RELEASE.txt | |
parent | a6f498306730b333c81cef8bbf135e26e3acb360 (diff) | |
download | SCons-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.txt | 3 |
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 --------- |