This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use gmtime’s target
authorFather Chrysostomos <sprout@cpan.org>
Sun, 28 Dec 2014 06:53:55 +0000 (22:53 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 28 Dec 2014 06:53:55 +0000 (22:53 -0800)
commitd0a10fd8bbd0cbe3a8289eb8a7b993a27d02b4d8
treeb8402ae4f004f1c3496d72ddbc37148a854cabc5
parentca2770d807cee660972b886c40b0aa841d784b64
Use gmtime’s target

gmtime has a target allocated for it, but it hasn’t used that target
since 46fc3d4c6 (inseparable changes from match from perl-5.003_97g to
perl-5.003_97h, probably the ‘Mondo Cool patch’ mentioned in the com-
mit message).

There is no reason not to use it and avoid allocating a fresh SV with
each scalar-context call.
pp_sys.c