Re: Speed up a slow loop

2022-03-09 Thread J. Landman Gay via use-livecode
My memory checks on the Pixel 5 had a maximum app memory use of about 375 MB of RAM. I think that was before I removed the duplicate copy of the dictionary data though, which if so would bring the total down. That said, other apps had more. Chrome browser used over 300 MB, Play Store 411 MB,

Re: Speed up a slow loop

2022-03-09 Thread Neville Smythe via use-livecode
I just ran a test to try to find out how much RAM is used when you create a large array; the result is rather surprising. BTW Bob: I did not imply that an array is implemented in LC as a database. Merely that to work its magic it must be indexing keys somehow. I had suggested a 2.5 MB list

Re: Speed up a slow loop

2022-03-09 Thread Alex Tweedly via use-livecode
Hmmm - I have to correct myself :-) It's not 110; there are 144 digraphs on a 5x5 board  - nine centre tiles each have 8 neighbours  - four corner tiles each have 3 neighbours  - twelve remaining edge tiles each have 5 neighbours giving 72 + 12 + 60 - so 144 pairs (already including both

Re: Speed up a slow loop

2022-03-09 Thread Alex Tweedly via use-livecode
Yes, Quentin's allowing for diagonals (that's how the number of digraphs on a 5x5 board gets up to 110). And it's probably a good idea, allowing an even finer filter - if you aren't doing the boardwalk method.. If you do use the boardwalk to generate the exact list of words, you get no

Re: use-livecode Digest, Vol 222, Issue 8

2022-03-09 Thread doc hawk via use-livecode
jacqui juggled, > > Funny you should bring this up, as I was playing with it last night. Turns > out that multiple filters do slow down on the Pixel so I was looking for the > One True Regex. Something like ^[manl]\{2,5\}$ which matches all strings of length 2 to 5 composed exclusively

[ANN] SpreadLib ordering is back online

2022-03-09 Thread Curry Kenworthy via use-livecode
The SpreadLib order page is back up: http://livecodeaddons.com/spreadlib.html http://livecodeaddons.com/buy-spreadlib This is NOT a new version! Just the "store restored" after going offline when eSellerate died. (I've marked the price down a bit, though, at SendOwl.) We have a MUCH newer

Re: Speed up a slow loop

2022-03-09 Thread J. Landman Gay via use-livecode
I'm not sure I followed all that, but did you account for diagonals? It sounds like you'd need to calculate all the possible polygons in a 5x5 grid, starting from anywhere, and sometimes wrapping around itself. I don't have the math skills to do that but when I get this thing presentable you

Re: Speed up a slow loop

2022-03-09 Thread J. Landman Gay via use-livecode
On 3/8/22 5:56 PM, Neville Smythe via use-livecode wrote: reducing the list to around 20K words evidently removes the issue, which suggests multiple copies of the array are being created somewhere in (Jacque’s original ) search algorithm. Yeah, I was keeping two copies without realizing it.

Re: Requirements for display PDF in a browser on Windows?

2022-03-09 Thread Klaus major-k via use-livecode
Hi Tom, > Am 09.03.2022 um 20:20 schrieb Tom Glod via use-livecode > : > > (y) That I do not know unfortunately. Can't test I don't have windows 7 > anywhere. OK, so I guess it will work on Win 10, if that is what you are running, right? Someone else knows if this works on Win >= 7? Don't be

Re: Requirements for display PDF in a browser on Windows?

2022-03-09 Thread Tom Glod via use-livecode
(y) That I do not know unfortunately. Can't test I don't have windows 7 anywhere. On Wed, Mar 9, 2022 at 1:45 PM Klaus major-k via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Tom, > > > Am 09.03.2022 um 19:40 schrieb Tom Glod via use-livecode < > use-livecode@lists.runrev.com>: > >

Re: Requirements for display PDF in a browser on Windows?

2022-03-09 Thread Klaus major-k via use-livecode
Hi Tom, > Am 09.03.2022 um 19:40 schrieb Tom Glod via use-livecode > : > > i use the widget. Yes it can. this is very good news, thank you! :-) And what Windows version is neccessary for this to work? All versions >= 7? > On Wed, Mar 9, 2022 at 1:10 PM Klaus major-k via use-livecode < >

Re: Requirements for display PDF in a browser on Windows?

2022-03-09 Thread Tom Glod via use-livecode
i use the widget. Yes it can. On Wed, Mar 9, 2022 at 1:10 PM Klaus major-k via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Jaques, > > > Am 09.03.2022 um 19:01 schrieb J. Landman Gay via use-livecode < > use-livecode@lists.runrev.com>: > > > > I believe it's the Chromium engine. >

Re: Requirements for display PDF in a browser on Windows?

2022-03-09 Thread Klaus major-k via use-livecode
Hi Jaques, > Am 09.03.2022 um 19:01 schrieb J. Landman Gay via use-livecode > : > > I believe it's the Chromium engine. thanks! But can it open PDFs out of the box? > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On March 9,

Re: Requirements for display PDF in a browser on Windows?

2022-03-09 Thread J. Landman Gay via use-livecode
I believe it's the Chromium engine. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On March 9, 2022 4:47:26 AM Klaus major-k via use-livecode wrote: Is "Chrome" the web engine that LC is unsing in the "browser widget" on Windows?

Re: Monterey + Dark Mode + LC 9.6.6

2022-03-09 Thread Mike Kerner via use-livecode
throw up an issue and/or a pull request in the repo. On Mon, Mar 7, 2022 at 8:10 PM Marty Knapp via use-livecode < use-livecode@lists.runrev.com> wrote: > I think I found the issue. I use Levure to build my apps (great framework > - you should try it!) and it uses a a customized plist file. I

Re: Speed up a slow loop

2022-03-09 Thread Bob Sneidar via use-livecode
Hmmm... I think I misread you to say that arrays are indexed. If that were the case, then the devs *should* be able to create functions for querying them and getting a subset of keys. I think then that this is NOT the case. Bob S > On Mar 9, 2022, at 07:57 , Bob Sneidar via use-livecode >

Re: Speed up a slow loop

2022-03-09 Thread Bob Sneidar via use-livecode
Then why isn't there a method to query an array? That was precicely why I wrote the routines to convert an array to a database. Bob S > On Mar 8, 2022, at 15:56 , Neville Smythe via use-livecode > wrote: > > Turning the list into an array will add indexing overhead very similar to > what

Re: Requirements for display PDF in a browser on Windows?

2022-03-09 Thread Klaus major-k via use-livecode
Hi Tom, > Am 08.03.2022 um 23:55 schrieb Tom Glod via use-livecode > : > > I have definitely opened PDF in the browser in the past and it opened > the default "chrome html 5" pdf reader. > everything seems to have worked. > And I don't see why it would no longer work now. thank you for