Re: [lookup] vs. [search]
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16529
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.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
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.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Grant Hulbert
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:
OT: javascript help (2003)
PCS Customer submissions ? (1997)
Using Plug-In while running 1.6.1 (1997)
Nested tags count question (1997)
What does this error mean? (2000)
RedHat Linux glibc version 2.1.2 or higher required (2000)
Tracking inbound links for discounts (1997)
Help name our technology! (1997)
Typhoon Pro Admin and Problems (2001)
WebDelivery downloads alias, not original ? (1997)
Browser frames and URLs in the Location field (2004)
Newbie problem blah blah blah (1997)
New Server? (2006)
Just a thought (1998)
[ListFiles] & [loop] (1998)
Removing [showif] makes a big difference in speed (1997)
Protect vs Authenicate (1997)
Tip: Image Maps (Server-Side) with WebCatalog (1997)
posts (1998)
Nested tags count question (1997)