tim wrote: > Against that, line-at-a-time text file input in particular is = something that > every newbie bumps into at once, and Perl does have a monster = advantage > there (at least 2x faster, probably closer to 3 on most platforms). and 2-3x is what you get if you replace readline with readlines, as described in this note: http://w1.132.telia.com/~u13208596/notes/readline-performance.htm it would be very nice if the file object could do something similar internally (only in text mode, perhaps). maybe in 1.7? (as I've mentioned earlier, SRE+faster IO can result in a 10x speedup for a straightforward while/readline/match loop...) </F>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4