There's a lot in that, Brahmanathaswami. http://lists.runrev.com/pipermail/use-livecode/2018-August/249651.html
2000 lines is not much. I suspect any time spent is relating to needing the redraw the field each time it's touched. Try locking the screen at the top of the handler and see if that helps.
Also, my question about the algo itself was unaddressed. If you can describe what you want it to do I'm sure we can find an efficient solution.
-- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ ambassa...@fourthworld.com http://www.FourthWorld.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