Follow-Up to: Removing [showif] makes a big difference in speed
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10780
interpreted = N
texte = Hi Grant,I had an idea for speeding things up a little on subsequent searches, andit worked.I moved the stuff which was previously enclosed in the [showif] context toa separate file and I used [include] to include that stuff in the [showif]context. My thinking was that if WebCat2 would have to open a separate fileto get at this stuff, maybe it wouldn't open that file when the [showif]evaluates to 'false'.Apparently I was right about this, because my subsequent searches now takeabout 0.12 seconds. While this is not quite as fast as the 0.083 seconds Irecorded when I removed the entire [showif] context for a test, it iscertainly a lot better than waiting 17 seconds every time someone hits thatpage!Sincerely,Ken
Associated Messages, from the most recent to the oldest:
| |
- Follow-Up to: Removing [showif] makes a big difference in speed (Kenneth Grome 1997)
|
Hi Grant,I had an idea for speeding things up a little on subsequent searches, andit worked.I moved the stuff which was previously enclosed in the
[showif] context toa separate file and I used
[include] to include that stuff in the
[showif]context. My thinking was that if WebCat2 would have to open a separate fileto get at this stuff, maybe it wouldn't open that file when the
[showif]evaluates to 'false'.Apparently I was right about this, because my subsequent searches now takeabout 0.12 seconds. While this is not quite as fast as the 0.083 seconds Irecorded when I removed the entire
[showif] context for a test, it iscertainly a lot better than waiting 17 seconds every time someone hits thatpage!Sincerely,Ken
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:
Bad suffix error (1997)
several people editing a database. (2001)
Emailer help....! (1997)
Problems appending to database (1997)
emailer (1997)
auction system w/ Web Cat (1999)
apostrophe in search item (1997)
Inventory lookup & display... (2003)
searching for items that begin with a number (2004)
Emailer Set Up (1997)
WebCat2.0 [format thousands .0f] no go (1997)
WCS Newbie question (1997)
WebCat and image maps (1997)
What do you charge? (1998)
webcat 2.1 new cart fields - please explain more (1998)
OT-listserver stuff -WAS-webcat method for waiting (2000)
Where's Cart Created ? (1997)
Search Engine questions ... (2002)
2.0 Info (1997)
Some Questions (1997)