This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In S_check_type_and_open() call PerlIO_openn() directly if possible.
authorNicholas Clark <nick@ccl4.org>
Tue, 9 Nov 2010 15:58:52 +0000 (15:58 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 9 Nov 2010 16:19:14 +0000 (16:19 +0000)
commitccb84406d75e333090431f0ae31edecdf95fbad3
treee6d80e606a188a0d47dbdd2e8ecdc24244f87d03
parent282b29ee4859384c5da0d13a238cc0d52b072e3a
In S_check_type_and_open() call PerlIO_openn() directly if possible.

This saves creating a mortal SV on every file require (and a strlen()).

This commit brought to you with the aid of the campaign for elimination of
strlen().
pp_ctl.c