sort container parameters

Bob Sneidar bobsneidar at iotecdigital.com
Tue Mar 2 19:20:02 EST 2021


If it is a lot to sort, I am wondering why not use a memory database with the indexes you need to sort by, or a file database if the data needs to be persistent?

Bob S


On Mar 2, 2021, at 2:52 PM, Paul Dupuis via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:

Okay. Thank you Ralph.

I was reluctant to use "do" for performance reasons. The sort could be sorting a large number of lines - as many as several hundred sorts of a thousand to ten thousand lines.

I could of course do timing trials, but does anyone from the mothership (or anyone period) know if using "do" with a container sort causes any appreciable performance hit? All the data is in a variable (vs fields).




More information about the use-livecode mailing list