RE: Interesting Experiment With String/Sequence Slicing
- Posted by Mike <vulcan at win.co.nz> Aug 20, 2001
- 382 views
Hi Sam, I have found a way of increasing the poor performance of slicing really large sequences and have used this in my windows editor. This method is also in the file tk_misc.e included with win32lib.ew (insertIndex() & removeIndex()). I found an up-to 4-fold or more increase in speed. I don't have time to explain the method right now but if you want more help AFTER studying these routines then you could write to me direct. vulcan at win.co.nz slie at theage.fairfax.com.au wrote: > hi Robert, > > sorry to keep bring this issue up as the program i am writting > seems to be severely affected by the slowness in the string slicing > function in euphoria. the program i'm working on is basically doing a > lot > of string > string and replace (for large text files) which relies much on the > string > slicing. > i am just curious as to ways the program can be optimised and i have > run out of avenues except looking how i can get around the slicing > issue.