Re: [lookup] vs. [search]
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16532
interpreted = N
texte = >>Grant, what would you guess is the break-even point, in terms of speed and/or processing demands, between using a series of lookups and using a search context?>>I'd have to guess 2-3 at most, statistically speaking (for instance, if the lookup finds the item in record 1 of 1,000,000 it will stop looking immediately). If you set your search to case-sensitive and use eqFIELDNAMEdata, then it's extremely close to the speed of lookup.>>You can test for yourself using [elapsedtime] to see which is better with your particular data.Thanks, your guess is plenty good enough for me ... :)Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
>>Grant, what would you guess is the break-even point, in terms of speed and/or processing demands, between using a series of lookups and using a search context?>>I'd have to guess 2-3 at most, statistically speaking (for instance, if the lookup finds the item in record 1 of 1,000,000 it will stop looking immediately). If you set your search to case-sensitive and use eqFIELDNAMEdata, then it's extremely close to the speed of lookup.>>You can test for yourself using
[elapsedtime] to see which is better with your particular data.Thanks, your guess is plenty good enough for me ... :)Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Kenneth Grome
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Robert Minor duplicate mail (1997)
Plugin or CGI or both (1997)
CommandSecurity? (1997)
Storing dates (was: Ticket Ordering Question) (2003)
WebCatalog for guestbook ? (1997)
is sku a REQUIRED field on NT (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Web Catalog 2 demo (1997)
Initiating NewCart (1997)
[SEARCH] Context for SKU prices not working... (1998)
Text data with spaces in them... (1997)
target=_blank and form variables (1997)
Re:quit command on NT (1997)
Sitebuilder (2004)
Logging purchases (1997)
multi-paragraph fields (1997)
ups quickcost [repost] (1999)
Add more fields to an existent data base (1997)
WebCat2b15MacPlugin - [protect] (1997)
2 passwords (2003)