Re: loops
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34368
interpreted = N
texte = >Are you sure that you are not looping from 1 to 86400 in increments>of 1? That could certainly take a long time if the interior of the>loop does any processing at all.Yes, because when the page does eventually load, I do see the time increments as 12:00 12:15 12:30 .... The look up from the vendors database for time increment has a minimum value of 15 minutes (900 sec) so the number of iterations are 96 per loop, which I assume is a moderate enough for webcat to handle, even when repeeated 14 times, 1200 executions should load in say no longer than 3-5 seconds.Are loops fundamentally memory inefficient that I should try to work around having to use? I now realize that I can have two pull down menus for the hour of the day and the minute and concatenate the two fields with a : before appending to the database.(one of the few time I really lke weccat being so literal about text!). But for future programming endeavors, should loops be kept as a last resort kind of option?Jaishankar Jayaram,Database Architect,Interactive Ink, Inc.Phone: (614) 221-7089 ext 23Fax: (614) 221-7098mailto:jai@interactiveink.comhttp://www.interactiveink.comE-business made Easy-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>Are you sure that you are not looping from 1 to 86400 in increments>of 1? That could certainly take a long time if the interior of the>loop does any processing at all.Yes, because when the page does eventually load, I do see the time increments as 12:00 12:15 12:30 .... The look up from the vendors database for time increment has a minimum value of 15 minutes (900 sec) so the number of iterations are 96 per loop, which I assume is a moderate enough for webcat to handle, even when repeeated 14 times, 1200 executions should load in say no longer than 3-5 seconds.Are loops fundamentally memory inefficient that I should try to work around having to use? I now realize that I can have two pull down menus for the hour of the day and the minute and concatenate the two fields with a : before appending to the database.(one of the few time I really lke weccat being so literal about text!). But for future programming endeavors, should loops be kept as a last resort kind of option?Jaishankar Jayaram,Database Architect,Interactive Ink, Inc.Phone: (614) 221-7089 ext 23Fax: (614) 221-7098mailto:jai@interactiveink.comhttp://www.interactiveink.comE-business made Easy-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Jaishankar Jayaram
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:
Maybe off topic but how to charge (1997)
fieldType=num (1997)
Looking for a host (1997)
Missing Tags from Docs (2002)
[FoundItems] solved - thanks (1997)
HTML (1999)
Progress !! WAS: Trouble with formula.db (1997)
What am I missing (1997)
[searchString] (1997)
Pay Flow Pro error (2002)
Draft Manual, Tutorial, and more (1997)
Webcat XML/XSLT Performance vs. static Html - Anyone from (2006)
New command suggestion (was Modifying databases manually) (1997)
searchable list archive (1997)
Using Cookie for client specific info? (1997)
Exclamation point (1997)
Loss in form (1998)
PCS Frames (1997)
problems with 2 tags (1997)
user submitted data Repost (2000)