Reverse a list

Mike Kerner MikeKerner at roadrunner.com
Wed Feb 18 15:24:31 CET 2015


Mae inglesh nawt so goot.  I didn't include the transaction code (or the
creating the database in memory instead of on disk code) in the examples
because it's the same in both and the question is why is the one sample so
much slower than the other.

On Tue, Feb 17, 2015 at 11:06 PM, Dr. Hawkins <dochawk at gmail.com> wrote:

> On Tue, Feb 17, 2015 at 2:20 PM, Mike Kerner <MikeKerner at roadrunner.com>
> wrote:
>
> > I didn't include everything, including the transaction code, or opening
> the
> > database in memory instead of on a disk.  When we were messing with this,
> > the piece that became the (58 minute) bottleneck was inside the loop, or,
> > according to Peter, the way the chunks are accessed in the loop.
> >
>
> Yes--but a large number of db accesses have their own time cost.  If you
> can combine many to one, there is a *huge* savings to be had.
>
>
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."


More information about the use-livecode mailing list