In perl.git, the branch vincent/faster-PathTools has been created
<http://perl5.git.perl.org/perl.git/commitdiff/325335d0b4100c7668b25bfcdcdb32f1973a1291?hp=0000000000000000000000000000000000000000>
at 325335d0b4100c7668b25bfcdcdb32f1973a1291 (commit)
- Log -----------------------------------------------------------------
commit 325335d0b4100c7668b25bfcdcdb32f1973a1291
Author: Vincent Pit <[email protected]>
Date: Thu Apr 26 17:47:39 2012 +0200
Conditionally compile QNX/NTO code in File::Spec::Unix::canonpath()
File::Spec::Unix::canonpath() does a platform run-time check at each
invocation to apply a QNX/NTO hack. As this is not needed on plain Unix
systems, the check can be moved to a constant so that the special code
can be optimized away by constant folded.
This seems to yield a 25% speedup for each call to canonpath().
-----------------------------------------------------------------------
--
Perl5 Master Repository