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 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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  2. Re: [WebDNA] Some code inside a large loops fail ... but why? (christophe.billiottet@webdna.us 2010)
  3. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  4. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  5. Re: [WebDNA] Some code inside a large loops fail ... but why? (christophe.billiottet@webdna.us 2010)
  6. Re: [WebDNA] Some code inside a large loops fail ... but why? (Christer Olsson 2010)
  7. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  8. Re: [WebDNA] Some code inside a large loops fail ... but why? (christophe.billiottet@webdna.us 2010)
  9. Re: [WebDNA] Some code inside a large loops fail ... but why? ("Psi Prime Inc, Matthew A Perosi " 2010)
  10. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  11. Re: [WebDNA] Some code inside a large loops fail ... but why? (Brian Fries 2010)
  12. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  13. Re: [WebDNA] Some code inside a large loops fail ... but why? (Govinda 2010)
  14. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  15. Re: [WebDNA] Some code inside a large loops fail ... but why? (Stuart Tremain 2010)
  16. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  17. Re: [WebDNA] Some code inside a large loops fail ... but why? (Stuart Tremain 2010)
  18. [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  19. [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  20. WenDNA infinite loops (1 issue solved) ( Brian B. Burton 2004)
  21. Re: Loops in increments of .25 (Gary Krockover 2002)
  22. Re: Loops in increments of .25 (John Peacock 2002)
  23. Re: Loops in increments of .25 (Gary Krockover 2002)
  24. Re: Loops in increments of .25 (Alex McCombie 2002)
  25. Loops in increments of .25 (Gary Krockover 2002)
  26. Re: loops (WebDNA Support 2000)
  27. Re: loops (Rob Marquardt 2000)
  28. Re: loops (WebDNA Support 2000)
  29. Re: loops (Jaishankar Jayaram 2000)
  30. Re: loops (Peter Werno 2000)
  31. Re: loops (Jaishankar Jayaram 2000)
  32. Re: loops (Kenneth Grome 2000)
  33. Re: loops (Jaishankar Jayaram 2000)
  34. loops (Jaishankar Jayaram 2000)
  35. Re: loops (WebDNA Support 2000)
  36. Re: loops (Dale 2000)
  37. Re: Too many webcat comments. [WAS- Large founditems loops] (Dale LaFountain 2000)
  38. Re: REPOST: Large founditems loops (Theodor Paleolog 2000)
  39. Re: REPOST: Large founditems loops (Serban Constantinescu 2000)
  40. Re: REPOST: Large founditems loops (Grant Hulbert 2000)
  41. Re: REPOST: Large founditems loops (Grant Hulbert 2000)
  42. Re: REPOST: Large founditems loops (Derek C. 2000)
  43. Re: REPOST: Large founditems loops (Mike Davis 2000)
  44. REPOST: Large founditems loops (Derek C. 2000)
  45. Re: Too many webcat comments. [WAS- Large founditems loops] (dale@gmr.dresdner.net 2000)
  46. Re: Too many webcat comments. [WAS- Large founditems loops] (John Butler 2000)
  47. Re: Too many webcat comments. [WAS- Large founditems loops] (Derek C. 2000)
  48. Re: Too many webcat comments. [WAS- Large founditems loops] (Charles Kline 2000)
  49. Re: Too many webcat comments. [WAS- Large founditems loops] (Glenn Busbin 2000)
  50. Re: Too many webcat comments. [WAS- Large founditems loops] (Kenneth Grome 2000)
  51. Too many webcat comments. [WAS- Large founditems loops] (John Butler 2000)
  52. Re: Large founditems loops (Kenneth Grome 2000)
  53. Re: Large founditems loops (Derek C. 2000)
  54. Re: Large founditems loops (Kenneth Grome 2000)
  55. Re: Large founditems loops (Derek C. 2000)
  56. Re: Large founditems loops (Derek C. 2000)
  57. Re: Large founditems loops (Kenneth Grome 2000)
  58. Large founditems loops (Derek C. 2000)
  59. Re: Loops N Variables (The Mooseman 1998)
  60. Re: Loops N Variables (PCS Technical Support 1998)
  61. Re: Loops N Variables (Peter Ostry 1998)
  62. Re: Loops N Variables (The Mooseman 1998)
  63. Re: Loops N Variables (Bob Minor 1998)
  64. Re: Loops N Variables (Kenneth Grome 1998)
  65. Loops N Variables (The Mooseman 1998)
  66. Re: Loops and [index] (Kenneth Grome 1998)
  67. Re: Loops and [index] (Trevor Crist 1998)
  68. Re: Loops and [index] (Dave MacLeay 1998)
  69. Loops and [index] (webmaster@textileweb.net (Bill Norman) 1998)
  70. reverse loops (Olin 1998)
  71. Re: Nested Loops and SHOWIFs (Michael Winston 1997)
  72. Re: Nested Loops and SHOWIFs (Michael Winston 1997)
  73. Re: Nested Loops and SHOWIFs (Kenneth Grome 1997)
  74. Re: Nested Loops and SHOWIFs (Kenneth Grome 1997)
  75. Nested Loops and SHOWIFs (Michael Winston 1997)
>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/ 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)