You could write a filter in C. Using a memory-mapped file (or large buffer) it should be I/O bound and take no appreciable time to locate the delimiters. Copy them to standard output.
Then, call that as a pipe-in from the Perl open-file command.
—John
In reply to Re: What is the fastest way to extract data from a delimited string?
by John M. Dlugosz
in thread What is the fastest way to extract data from a delimited string?
by thezip
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |