Using a mass loader would indeed be the fastest option by far.
If you have to stick with Perl though, you can certainly gain speed. Tie::File has to do a lot of bookkeeping to a) find all the ends of lines b) update the file per your wishes. Maybe File::ReadBackwards is what you need: it is written to handle precisely the case you have efficiently.
Makeshifts last the longest.
In reply to Re: Better way to work with large TSV files?
by Aristotle
in thread Better way to work with large TSV files?
by radiantmatrix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |