Probably because you use the less optimized way of converting the slice with $. This one does not reallocate the string but creates a new one every time.
- Re: To optimize operation of replacement of lines in the f... yglukhov
- Re: To optimize operation of replacement of lines in ... cblake
- Re: To optimize operation of replacement of lines... Stefan_Salewski
- Re: To optimize operation of replacement of lines... Garry_Galler
- Re: To optimize operation of replacement of lines... cblake
- Re: To optimize operation of replacement of lines... Garry_Galler
- Re: To optimize operation of replacement of lines... cblake
- Re: To optimize operation of replacement of lines... Garry_Galler
- Re: To optimize operation of replacement of lines... OderWat
- Re: To optimize operation of replacement of lines... Garry_Galler
- Re: To optimize operation of replacement of lines... OderWat
