delete end chars

Peter Haworth pete at lcsql.com
Mon Aug 25 01:38:48 EDT 2014


On Sun, Aug 24, 2014 at 8:09 PM, Kay C Lan <lan.kc.macmail at gmail.com> wrote:

> Not bringing much to the table other than to say that if you are
> looking into large amounts of data, and need to do this millions of
> time, and therefore speed is of interest, Peter's grep solution is
> ever so slightly faster than Colin's. There isn't much in it and both
> scale well. If you'd like to test, create a new stack, one button  and
> in the btn copy the below script which is one mouseUp handler and one
> Function fRandomInRange.
>

Thanks for checking this out Kay.  As you said, there's no practical
difference between the two solutions but it's good to know that regex is
pretty fast (at least in this case) since it tends to get a bad rap when it
comes to performance.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>



More information about the use-livecode mailing list