On 11/4/18 4:45 PM, Brian Milby via use-livecode wrote:
My updated solution always looks for overlap but if none are found it uses 
optimized versions of the search (private functions instead of inside the main 
function). I special case for no overlap and a single overlap in the delimiter. 
It is about the same speed as Geoff’s.

Nice. I tried to get tricky and replace that 'replace with' loop with a 'repeat for each' loop, but ended up about 20% slower. Not at all what I expected.

--
 Mark Wieder
 ahsoftw...@gmail.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to