August 1999 | Perl Hardware Store | Slide #31 |
Suppose you have a list of 1,000 strings
You'll make about 8,700 calls to compare_dates
About 17,500 splits
Typical date string was split 17.5 times!
One solution: Schwartzian Transform
Next | Copyright © 1998 M-J. Dominus |