in reply to What is the fastest way to extract data from a delimited string?
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
|
|---|