in reply to Re: Long string needs to be separated
in thread Long string needs to be separated

It is not a good idea to slurp 25MB into memory for modifying. It will be faster to use some kind of buffered read vs. a slurp. Even if you have the hardware to handle a file that size in memory.
I won't argue that this could solve the problem, it just isn't a good habit to get into when dealing with larger files. Ask me how I know :^)
  • Comment on Re: Re: Long string needs to be separated