in reply to Re: Re: What's the most efficient way to write out many lines of data?
in thread What's the most efficient way to write out many lines of data?
You'd think I'd at least look at the output file! I changed the regex line to
and I got the results:print OUTFILE join (",", /(.{1,10})/g), "\n"
a lot slower but nowhere near 16 minutes.Creating file took 9.90625 seconds Splitting file using regexp took 12 seconds
--
flounder
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: What's the most efficient way to write out many lines of data?
by hagen (Friar) on Jul 10, 2003 at 22:55 UTC |