Closed chromatic closed 13 years ago
This simplification of the Perl program should improve its speed.
Trimming the tailing "\n" is intentional; otherwise the result will be difference. Other implementations have a similar treatment. Anyway, trimming is much faster than regex matching.
This simplification of the Perl program should improve its speed.