[WebDNA] CORRECTION: 60% failure rate using replace in a loop

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105613
interpreted = N
texte = I may have been wrong about replace in a loop not working properly. Instead it may just be REALLY SLOW ... I just ran a new test and learned that it takes 10+ seconds to replace those 45 db records. I never imagined that it would take so long to do such a few replaces but apparently it does. This means I cannot look only at the "5 seconds in time" that I posted previously. Instead I have to look at 2-3 times as many records in order to see all 45 that were replaced. So right now here's what I think: WebDNA may actually be replacing all 45 records, but it is taking way too long to do it, so I still have to find another alternative to my existing code. Sincerely, Kenneth Grome Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (christophe.billiottet@webdna.us 2010)
  2. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (Kenneth Grome 2010)
  3. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (Kenneth Grome 2010)
  4. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (christophe.billiottet@webdna.us 2010)
  5. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (Kenneth Grome 2010)
  6. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (Kenneth Grome 2010)
  7. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (christophe.billiottet@webdna.us 2010)
  8. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (Kenneth Grome 2010)
  9. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (christophe.billiottet@webdna.us 2010)
  10. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (Kenneth Grome 2010)
  11. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (christophe.billiottet@webdna.us 2010)
  12. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (Kenneth Grome 2010)
  13. Re: [WebDNA] CORRECTION: 60% failure rate using replace in a loop (christophe.billiottet@webdna.us 2010)
  14. [WebDNA] CORRECTION: 60% failure rate using replace in a loop (Kenneth Grome 2010)
I may have been wrong about replace in a loop not working properly. Instead it may just be REALLY SLOW ... I just ran a new test and learned that it takes 10+ seconds to replace those 45 db records. I never imagined that it would take so long to do such a few replaces but apparently it does. This means I cannot look only at the "5 seconds in time" that I posted previously. Instead I have to look at 2-3 times as many records in order to see all 45 that were replaced. So right now here's what I think: WebDNA may actually be replacing all 45 records, but it is taking way too long to do it, so I still have to find another alternative to my existing code. Sincerely, Kenneth Grome 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:

Reading through the Order File (1999) SOP for WebDNA talk - MSNBot Crashing (2004) Install problems on 3.08 (2000) Multiple Merchant Accounts? (1997) WebCommerce: Folder organization ? (1997) WebCat2 beta 11 - new prefs ... (1997) problems with 2 tags (1997) [sendmail] questions... (1997) Problems with [Search] param - Mac Plugin b15 (1997) Spawn doesn't work as advertised ... (2000) Probably a very simple question? (1997) emailer (1997) Hosting (2000) Math with Time (1997) WebCat2b15MacPlugin - showing [math] (1997) rename a file (1997) Test Please ignore (2006) SOP for WebDNA talk (2004) Requiring that certain fields be completed (1997) Re[3]: 2nd WebCatalog2 Feature Request (1996)