numero = 34375
interpreted = N
texte = Jaishankar,why don't you use separate selects for Hour, Minute (and second ifneeded)? You could store the info somewhat likeand so forthand in the following template:[math show=f]the_time=[hour]+[min]+[second][/math]This would reduce the amount od data transferred to the browsersignificantly!On Sat, 8 Jul 2000 13:26:22 Jaishankar Jayaram wrote:> >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 23> Fax: (614) 221-7098> mailto:jai@interactiveink.com> http://www.interactiveink.com> E-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/-------------------------------------------------------------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:
Jaishankar,why don't you use separate selects for Hour, Minute (and second ifneeded)? You could store the info somewhat likeand so forthand in the following template:[math show=f]the_time=[hour]+[min]+[second][/math]This would reduce the amount od data transferred to the browsersignificantly!On Sat, 8 Jul 2000 13:26:22 Jaishankar Jayaram wrote:> >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 23> Fax: (614) 221-7098> mailto:jai@interactiveink.com> http://www.interactiveink.com> E-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/-------------------------------------------------------------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/
Peter Werno
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...