diff options
| author | sebres <sebres@users.sourceforge.net> | 2024-03-22 19:15:30 (GMT) |
|---|---|---|
| committer | sebres <sebres@users.sourceforge.net> | 2024-03-22 19:15:30 (GMT) |
| commit | 730f68f30c3a5c0d8d52ee40de257338c657d927 (patch) | |
| tree | 0f23d6c5c1567d708fd1bf8e5c1f9d17a11fde17 /unix/tclUnixTest.c | |
| parent | ea2e6b81903423c914c0681ea329adbd7061a3fd (diff) | |
| download | tcl-730f68f30c3a5c0d8d52ee40de257338c657d927.zip tcl-730f68f30c3a5c0d8d52ee40de257338c657d927.tar.gz tcl-730f68f30c3a5c0d8d52ee40de257338c657d927.tar.bz2 | |
fix for [1f40aa83c552f597]: the overflow check could mistakenly pass in some cases (so basically expects div 10 to check it properly);
optimizes both str2int, since we don't need to check it for most cases at all, thus definitely faster now (O(n)+O(1) vs. O(n)+O(n) and also has fewer branch mispredictions).
Diffstat (limited to 'unix/tclUnixTest.c')
0 files changed, 0 insertions, 0 deletions
