On Sat, Nov 17, 2001 at 04:36:03PM -0800, David Wheeler wrote: > Because while I understood that the reason the original code was slow > was because of the join/split/map syntax, my primary motivation was to > find a way to get rid of any need for loading POSIX.
False economy compared to the join/split/map expense. POSIX is autoloaded. You're saving yourself all of 300K and 50ms of startup time. schwern 6784 1.8 0.8 4604 2768 pts/1 S 19:45 0:00 perl -e use DBI; sleep 999 schwern 6795 34.0 0.9 4980 3056 pts/1 S 19:46 0:00 perl -e use DBI; use POSIX qw(isprint); sleep 999 $ time perl -e 'use DBI' real 0m0.317s user 0m0.260s sys 0m0.020s $ time perl -e 'use DBI; use POSIX qw(isprint)' real 0m0.371s user 0m0.300s sys 0m0.020s But in the process you've found the *real* problem. -- Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/ Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One My feet hurt... with destiny! http://sluggy.com/d/010204.html