summaryrefslogtreecommitdiff
path: root/cpan/HTTP-Tiny/lib/HTTP/Tiny.pm
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2016-09-27 12:59:01 +0100
committerDavid Mitchell <davem@iabyn.com>2016-09-27 13:05:25 +0100
commit80e5abf23b986e2b06e8cd73a698f2f1cd26d991 (patch)
tree075a3fa5963ed1e046a845fe999b890c71d809c0 /cpan/HTTP-Tiny/lib/HTTP/Tiny.pm
parent032736abefdb7cfe5ccd540348d63d568c9bdc73 (diff)
downloadperl-80e5abf23b986e2b06e8cd73a698f2f1cd26d991.tar.gz
S_sv_2iuv_common(): optimise single digit strings
When converting a POK SV to an IOK SV, short-cut the relatively common case of a string that is only one char long and consists of a single digit, e.g. "0". Thus skipping all the floating-point, infinity, whitespace etc complexity.
Diffstat (limited to 'cpan/HTTP-Tiny/lib/HTTP/Tiny.pm')
0 files changed, 0 insertions, 0 deletions