So the first form populates the field only once....since its a single command so no other states of the field will exist.
Makes perfect sense. Thanks On Sat, Dec 1, 2018 at 7:45 PM Richard Gaskin via use-livecode < [email protected]> wrote: > Tom Glod wrote: > > > Can someone explain the seemingly extraordinary performance > > improvement in using apparently its "split second" vs "over a minute" > > > > set the hidden of line 1 to - 1 of field 1 to false > > > > vs. > > > > repeat with i = 1 the number of lines of fld 1 > > set the hidden of line i of fld 1 to false > > end repeat > > > > it doesn't seem like the loop would be the bottleneck here, but rather > > the work on the field itself....but obviously, I know nothing about > > this engine > > Think about all the steps a computer needs to take to render text in a > field. > > Multiply that by the number of lines... > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > [email protected] http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
