Re: How do I make this faster????

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 28886
interpreted = N
texte = >At 3:12 PM -0800 3/10/00, Aaron Lynch wrote: > >You dont :) > > > >[seach db=thedb&eqblahdata=blah] > >[writefile thefilename] > >item1headeritem2header > >[founditems][item1data][item2data] > >[/founditems][/writefile][/search] > > > >OK... Duh.... I don't think this will work for me however, because we >actually need to do some other stuff inside the [founditems] loop and >any [showif] in there will create inappropriate whitespace insife the >[writefile]. > >Then there's the issue of having to do this in batchs, because >setting the max to the total number of possible records (16,000) and >growing will surely crash the server.... I've done that already. Not to beat a dead horse but you can avoid any white space by generous use of [!][/!]. And for the second problem use [appendFile] instead of [writefile].I still think it would be worth a shot to avoid appending 16000 records to a file. It would cut out lots of operations. Sam Lewis, V.P. TechnologyTehabi Books http://www.tehabi.com/ 1201 Camino Del Mar, Suite 100, Del Mar, CA 92014 Tel: 626-852-0956 Fax: 916-404-5698 mailto:Sam@tehabi.comGet FREE Electronic Postcards at http://www.tehabi.com/postcards/------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: How do I make this faster???? (Joseph D'Andrea 2000)
  2. Re: How do I make this faster???? (WebDNA Support 2000)
  3. Re: How do I make this faster???? (Sam Lewis 2000)
  4. Re: How do I make this faster???? (Joseph D'Andrea 2000)
  5. Re: How do I make this faster???? (Aaron Lynch 2000)
  6. Re: How do I make this faster???? (Joseph D'Andrea 2000)
  7. Re: How do I make this faster???? (Sam Lewis 2000)
  8. Re: How do I make this faster???? (Jesse Proudman 2000)
  9. How do I make this faster???? (Joseph D'Andrea 2000)
>At 3:12 PM -0800 3/10/00, Aaron Lynch wrote: > >You dont :) > > > >[seach db=thedb&eqblahdata=blah] > >[writefile thefilename] > >item1headeritem2header > >[founditems][item1data][item2data] > >[/founditems][/writefile][/search] > > > >OK... Duh.... I don't think this will work for me however, because we >actually need to do some other stuff inside the [founditems] loop and >any [showif] in there will create inappropriate whitespace insife the >[writefile]. > >Then there's the issue of having to do this in batchs, because >setting the max to the total number of possible records (16,000) and >growing will surely crash the server.... I've done that already. Not to beat a dead horse but you can avoid any white space by generous use of [!][/!]. And for the second problem use [appendfile] instead of [writefile].I still think it would be worth a shot to avoid appending 16000 records to a file. It would cut out lots of operations. Sam Lewis, V.P. TechnologyTehabi Books http://www.tehabi.com/ 1201 Camino Del Mar, Suite 100, Del Mar, CA 92014 Tel: 626-852-0956 Fax: 916-404-5698 mailto:Sam@tehabi.comGet FREE Electronic Postcards at http://www.tehabi.com/postcards/------------------------------------------------------------- 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 Sam Lewis

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:

Smart caching problems with 2.1b3? (1997) Setting up shop (1997) Thanks Grant (1997) File not found error message (1998) FORMS: Returning a specific page (1997) Webcatalog quitting (1997) Database Structure? (1998) customizing the color of user's pages (1997) Web Merchant process after credit card clears (1998) Webcatalog 4.01 and Webstar 4.2.1, is it OK? (2000) refreshing IE with posted .tmpl (1997) Setting up WebCatalog with Retail Pro data (1996) A quickie question (1997) Nesting Search Within Tag? (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) webten vs. webstar (1998) Here's how to kill a Butler Database. (1997) Re:Subject: Mail Server Software (1998) Multiple Merchant Accounts? (1997) Undeclared variables (2004)