Re: A question about the compiler to come

2022-03-04 Thread Mark Smith via use-livecode
I also asked about building widgets from LC script. The response was, this could be a step along that path. Sent from my iPhone > On Mar 4, 2022, at 2:54 PM, Mike Kerner via use-livecode > wrote: > > It's nice that aCompileIt!/Double-XX replacement is finally coming to > LiveCode, maybe,

Re: Speed up a slow loop

2022-03-04 Thread Bob Sneidar via use-livecode
Well… the idea was, if storing and working with the data as arrays was crucial, then I have a method for creating sqLite databases, memory or otherwise, from arrays and then back again. I don’t know if mobile devices can use memory databases, or perhaps the data is too much for mobile device

Re: Speed up a slow loop

2022-03-04 Thread J. Landman Gay via use-livecode
On 3/4/22 2:33 PM, Neville Smythe via use-livecode wrote: Jacque, are you trying to keep the whole of SOWPODS in memory the whole time? That’s a 2.5MB file. It sounds to me like you are getting virtual memory thrashing. I'm thinking the same thing, it's the only explanation. I stopped using

Re: Speed up a slow loop

2022-03-04 Thread Neville Smythe via use-livecode
Bob’s suggestion of storing the word list in an sqlite database would keep the list on disk and not in memory, so avoiding VM swapping which is I think the basic problem, and also use a much faster search engine than LC to do the checking for the existence of user candidates. A more elegant

Re: Speed up a slow loop

2022-03-04 Thread Neville Smythe via use-livecode
Jacque, are you trying to keep the whole of SOWPODS in memory the whole time? That’s a 2.5MB file. It sounds to me like you are getting virtual memory thrashing. If so, try breaking up the wordlist into 26 files for example - or even more by length as well as initial letter - kept as resources

Re: A question about the compiler to come

2022-03-04 Thread Mike Kerner via use-livecode
It's nice that aCompileIt!/Double-XX replacement is finally coming to LiveCode, maybe, but it is pretty expensive, at $499/year. The old timers may remember both of those products, from Heizer Software, allowed you to compile HyperCard stacks (and build XCMD's and XFCN's). We will see how smooth