Reverse a list
MikeKerner at roadrunner.com
Sat Feb 14 23:00:36 CET 2015
Pete, is that a typo, or did you mean to have a semicolon instead of a
colon in front of "memory"? Does ";memory:" work, too, or just ":memory:"?
AND HOLY CRAP, yes, Pete, you're right, you were doing 100k records, where
the other example was only doing 10k. So doing 100k records with REPEAT
wait for it
wait for it
Believe me, I was waiting, and waiting, and wating for it
FIFTY EIGHT MINUTES AND THIRTEEN SECONDS.
REPEAT FOR is .129 seconds, and REPEAT WITH is TWENTY SEVEN THOUSAND TIMES
SLOWER (for this operation)??!?!?!?!?!???
Hey, Pete, "That's a common technique"...WHAT? If it's so common, and all
of this is common knowledge, then how come it isn't documented, anywhere,
and how come this is the first time I remember EVER hearing about this
difference? What else don't I know about??? Grrrrrrrrrrrrrr. You would
think that Edinburgh would think about tweaking an algorithm, since REPEAT
WITH seems to be a special case of REPEAT FOR, and you can generate the
REPEAT WITH behavior by wrapping the REPEAT FOR...
On Fri, Feb 13, 2015 at 6:56 PM, Bob Sneidar <bobsneidar at iotecdigital.com>
> Oh thanks. That would have screwed me up if I had tried to use “memory”.
> Bob S
> On Feb 13, 2015, at 15:34 , Peter Haworth <pete at lcsql.com<mailto:
> pete at lcsql.com>> wrote:
> We both used in memory databases. The filename is ";memory:"
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
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