On 2022-03-02 21:57, J. Landman Gay via use-livecode wrote:
The loop takes forever. Here it is (sDictFile is a script local):
repeat for each line l in pList -- pList is the user word list
if sDictFile[l] = true then put l & cr after tCheckedList
else put l & cr after tNonWords
wai
On 3/2/22 11:41 PM, Richard Gaskin via use-livecode wrote:
Jacque wrote:
> so I'm not really looping through the keys, just looking for
> a matching one. The loop is for each user word I need to find.
> If there's no key, then the word isn't legal.
What is the ratio of keys whose values are
On 3/2/22 8:14 PM, Rick Harrison via use-livecode wrote:
That sounds like a memory leak!
I was thinking the same thing, but you'd think it would leak on my old tablet too, the one with
far less memory.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software
Jacque wrote:
> so I'm not really looping through the keys, just looking for
> a matching one. The loop is for each user word I need to find.
> If there's no key, then the word isn't legal.
What is the ratio of keys whose values are "true" and those which are
"false"?
And what is the ratio of
I did not know about filter! I think I am cured of my “among” disease.
.Jerry
> On Mar 2, 2022, at 7:29 PM, Ralph DiMola via use-livecode
> wrote:
>
> I ran into this when doing mobile predictive typing for US cities(40,000)
> with a scrollable dropdown of results. I did with a loop in JavaScri
I ran into this when doing mobile predictive typing for US cities(40,000)
with a scrollable dropdown of results. I did with a loop in JavaScript in
html and was instantly fast. So in LC IDE I started with the loop thing and
it was too slow. There was a 3/4 of a second blip as each character was
typ
That does make sense and now I understand the problem.
> On Mar 2, 2022, at 6:19 PM, J. Landman Gay via use-livecode
> wrote:
>
> Actually, this is what I do:
>
> if sDictFile[L] = true then...
>
> which I thought would be pretty fast since it's accessing the array directly.
> The array lo
On 3/2/22 6:40 PM, Phil Davis via use-livecode wrote:
Did it ever work as expected, or has it always behaved this way on all devices? (If it ever did
work right, I guess that points to a change that happened outside your code.)
I'm trying to remember. I've mostly been testing on my tablet where
On 3/2/22 7:44 PM, Jerry Jensen via use-livecode wrote:
Instead of putting the keys into tCorrWdList and using
“among the lines of tCorrWdList",
how about using “among the keys of tCorrWdList”?
Judging from no knowledge of the internals but guessing what it must do:
“among the lines” has to look
It could also be the garbage collection cycle isn’t working right.
> On Mar 2, 2022, at 7:52 PM, J. Landman Gay via use-livecode
> wrote:
>
> I noticed today though that there's a more general slowdown overall. When I
> first launch the app it takes only a second to set up the board display. I
That sounds like a memory leak!
> On Mar 2, 2022, at 7:52 PM, J. Landman Gay via use-livecode
> wrote:
>
> I noticed today though that there's a more general slowdown overall. When I
> first launch the app it takes only a second to set up the board display. If I
> keep hitting the "new board"
A few years ago I found that 0.1 milliseconds was faster for some crazy reason.
Maybe that bug finally got fixed?
> On Mar 2, 2022, at 7:40 PM, J. Landman Gay via use-livecode
> wrote:
>
> It gets slower. :(
___
use-livecode mailing list
use-livecod
Arrgh.
Try again.
“among the keys of C”
instead of the keys of tCorrWdList like I wrote.
I’ll quit now.
.Jerry
> On Mar 2, 2022, at 5:44 PM, Jerry Jensen via use-livecode
> wrote:
>
> Now that I’m thinking more directly, I’ll try again:
>
> Instead of putting the keys OF C into tCorrWdList a
Now that I’m thinking more directly, I’ll try again:
Instead of putting the keys into tCorrWdList and using
“among the lines of tCorrWdList",
how about using “among the keys of tCorrWdList”?
Judging from no knowledge of the internals but guessing what it must do:
“among the lines” has to look f
On 3/2/22 6:32 PM, Rick Harrison via use-livecode wrote:
Eon’s ago I had a similar problem in Fortran.
My solution was to break up my huge array into 3 smaller
alphabetical arrays. I had to first determine with some
if statements which of the 3 arrays I had to search.
The solution turned a gla
Jacque -
Did it ever work as expected, or has it always behaved this way on all
devices? (If it ever did work right, I guess that points to a change
that happened outside your code.)
Phil Davis
On 3/2/22 4:35 PM, J. Landman Gay via use-livecode wrote:
On 3/2/22 5:12 PM, Devin Asay via use-
On 3/2/22 5:06 PM, Rick Harrison via use-livecode wrote:
What happens if you wait longer than 0?
It gets slower. :(
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
__
On 3/2/22 6:19 PM, Jerry Jensen via use-livecode wrote:
Could using “is among the keys of sDictFile” instead of the loop be another
advantage?
I need to loop through all the user words, checking each one against the dictionary. I.e. the
loop is going through a short list of user entries, not
On 3/2/22 5:12 PM, Devin Asay via use-livecode wrote:
Have you tried
put the keys of sDictFile into tCorrWdList
repeat for each line I in pList
if I is among the lines of tCorrWdList then
put I & cr after tCheckedList
else
put I & cr after tNonWords
end if
end repeat
Eon’s ago I had a similar problem in Fortran.
My solution was to break up my huge array into 3 smaller
alphabetical arrays. I had to first determine with some
if statements which of the 3 arrays I had to search.
The solution turned a glacially slow search into a very acceptable one.
You may wan
Could using “is among the keys of sDictFile” instead of the loop be another
advantage?
.Jerry
> On Mar 2, 2022, at 3:12 PM, Devin Asay via use-livecode
> wrote:
>
> Jacque,
>
> Have you tried
>
> put the keys of sDictFile into tCorrWdList
> repeat for each line I in pList
> if I is among t
Jacque,
Have you tried
put the keys of sDictFile into tCorrWdList
repeat for each line I in pList
if I is among the lines of tCorrWdList then
put I & cr after tCheckedList
else
put I & cr after tNonWords
end if
end repeat
I just wonder if there is some overhead with checking
What happens if you wait longer than 0?
Rick
> On Mar 2, 2022, at 4:57 PM, J. Landman Gay via use-livecode
> wrote:
>
> In my Boggle game I have an array containing dictionary words as keys, split
> as set, so all values are "true". I need to compare those keys with a list of
> user words an
In my Boggle game I have an array containing dictionary words as keys, split as set, so all
values are "true". I need to compare those keys with a list of user words and get back a list
of good words and a list of illegal words.
The loop takes forever. Here it is (sDictFile is a script local):
The quote, for those struggling with browsers and paywalls. I was able
to see it in a Tor browser:
Before becoming the dominant networking protocol, Ethernet was
challenged by several other technologies. In the early 1980s, Mr.
Metcalfe said, when Mr. Boggs took the stage at a Californi
Hello Ben,
I take it you are on MacOS? Which MacOS version, and which LiveCode version
are you using?
Could it be the case you haven't got the right version of Oracle Instant
Client installed? You need libclntsh.dylib.11.1, found here:
https://download.oracle.com/otn/mac/instantclient/11204/inst
26 matches
Mail list logo