Search found 6 matches

by mickclns
Sun Dec 08, 2013 11:51 pm
Forum: Talking LiveCode
Topic: speed of is among
Replies: 12
Views: 6225

Re: speed of is among

|\_/||||//_\|/\|//____/|\_/|\_//|||//_\|/_\|/____//|\_|\_//| |\_//|||//_\|_\|//____//|\/|\_//|||//_\|/_||/____//|\_/\_//| |\_//|||/__\/_\|/_____//|\_|\_//|||//_\|/\|//_____/|\_/|\_// |\__/////_\|/_\|/______/|\_/|\_/////__\/_\|/___\__/|\_/|\_// /|\_/////_\|/_\|/_\\\__/|\_/|\_/////_\|/_\|/__\\\_/|\_/|...
by mickclns
Sun Dec 08, 2013 9:40 am
Forum: Talking LiveCode
Topic: speed of is among
Replies: 12
Views: 6225

Re: speed of is among

Thanks, Richard, I'll try that, and do some timing and will let you know (here) which seems to be the best (for this particular set -- I'll have to check the code which creates the set to see how I decided when to add a return instead of a simple space (I initially wrote this years ago just after my...
by mickclns
Sun Dec 08, 2013 4:12 am
Forum: Talking LiveCode
Topic: speed of is among
Replies: 12
Views: 6225

Re: speed of is among

Simon, at present they are simply words delimited by spaces, sometimes with several spaces or returns for readability when browsing with my eyes.
by mickclns
Sun Dec 08, 2013 4:08 am
Forum: Talking LiveCode
Topic: speed of is among
Replies: 12
Views: 6225

Re: speed of is among

Oops, sorry Richard, I didn't see before that the dictionary answered my question about a variable without specified keys.
by mickclns
Sun Dec 08, 2013 3:57 am
Forum: Talking LiveCode
Topic: speed of is among
Replies: 12
Views: 6225

Re: speed of is among

Hi, Simon, I've never used lineOffset or filter. The words are in a single line, so, if my reading of the dictionary is correct neither is applicable as the variable stands now. Perhaps wordOffset? Suggestions how to change the structure of the variable so either lineOffset or filter could be used f...
by mickclns
Sun Dec 08, 2013 2:33 am
Forum: Talking LiveCode
Topic: speed of is among
Replies: 12
Views: 6225

speed of is among

I have a variable that contains about 80,000 words (whole numbers in ascending order). I assume that some sort of hash is involved. I am currently using it like the following: if 874693 is among the words of varContainingNumbersInOrder then .. It seems like it is pretty slow on average. Would it be ...