What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: lookups or math?

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 15961
interpreted = N
texte = >>If I have to do the same lookup a bunch of times on the same page -- in order to use the results in a bunch of separate showif contexts, is it faster to simply use that lookup in every showif comparison where it's needed on the page ... >> >>... or would it be better to do the lookup just once at the top of the page and set a math variable with that lookup, and then use [math]variable[/math] inside the showifs on the rest of the page? > >It's usually faster to use the [math] technique, as long as your variable is numeric.That's what I figured, now I can do the lookup once at the top, clean up my code, and add speed -- all at once ... :)Sincerely, Ken Grome ken@iav.com 808-737-6499 WebDNA Solutions http://webdna.net/ Associated Messages, from the most recent to the oldest:

    
  1. Re: lookups or math? (Kenneth Grome 1998)
  2. Re: lookups or math? (Grant Hulbert 1998)
  3. lookups or math? (Kenneth Grome 1998)
>>If I have to do the same lookup a bunch of times on the same page -- in order to use the results in a bunch of separate showif contexts, is it faster to simply use that lookup in every showif comparison where it's needed on the page ... >> >>... or would it be better to do the lookup just once at the top of the page and set a math variable with that lookup, and then use [math]variable[/math] inside the showifs on the rest of the page? > >It's usually faster to use the [math] technique, as long as your variable is numeric.That's what I figured, now I can do the lookup once at the top, clean up my code, and add speed -- all at once ... :)Sincerely, Ken Grome ken@iav.com 808-737-6499 WebDNA Solutions http://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:

WebCat2 - [format thousands] (1997) WebCatalog/Mac 2.1b2 New Features (1997) WC2b15 File Corruption (1997) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) removing commas from a preformatted number (2000) emailer (1997) Web Catalog 2 demo (1997) Some Questions (1997) Server Freeze (1998) WebCat2 - [format thousands] (1997) Assigning Serialized Customer Numbers (1997) pricing continued (1998) shipping calculations, lookup command (1997) GoLive CyberStudio 1.0.1 (1997) [WebDNA] Before I write this AJAX code from scratch ... (2015) Help! WebCat2 bug (1997) [sendmail] questions... (1997) autosensing lanague selection (1997) PCS Customer submissions ? (1997) Return records from another (1997)