diff options
author | Karl Williamson <khw@cpan.org> | 2019-09-07 09:18:49 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-11-11 21:05:13 -0700 |
commit | 2a3c509d463ce8d8356aff457f4a59da34c33673 (patch) | |
tree | 6466b963c13d283128be256536b0f1b6162e021d /malloc.c | |
parent | 0cd59ee9ca0f0af3c0c172ecc27bb3f02da6db08 (diff) | |
download | perl-2a3c509d463ce8d8356aff457f4a59da34c33673.tar.gz |
malloc.c: Use isDIGIT macro instead of hand-rolling it
The macro is more efficient
Diffstat (limited to 'malloc.c')
-rw-r--r-- | malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1688,7 +1688,7 @@ morecore(int bucket) IV val = 0; t += 2; - while (*t <= '9' && *t >= '0') + while (isDIGIT(*t)) val = 10*val + *t++ - '0'; if (!*t || *t == ';') { if (MallocCfg[off - opts] != val) |