Re: removing programming logic white space

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 51065
interpreted = N
texte = on 6/11/2003 7:54 pm, Dale LaFountain at dalel@darkhorse.com so noted...> -file begin- > [!][/!][LISTWORDS > delimiters=%09%0A%0C%0D&words=[URL] > > blah blah lotsa cr's > > [/URL]][showif [url][word][/url]~[url] [/showif][WORD][/LISTWORDS] > -file end-Except that takes even more processing time than using comments.When removing tabs and returns from a loop of 6000 chunks of text, here's the averaged overhead in ticks for each method on my (slow and under load) development machine running OS X:Grep: 70 Comments: 80 Listwords: 540Without the [showif], the time for Listwords is 336 (what's it there for?)Doing tests with more real world strings instead of my initial test with short lines and returns narrows grep's lead, but it still beats using comments (with the bonus of greater code legibility). Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: removing programming logic white space (Rob Marquardt 2003)
  2. Re: removing programming logic white space (Kenneth Grome 2003)
  3. Re: removing programming logic white space (Dale LaFountain 2003)
  4. Re: removing programming logic white space (Brian Fries 2003)
  5. Re: removing programming logic white space (Alain Russell 2003)
  6. Re: removing programming logic white space (Rob Marquardt 2003)
  7. Re: removing programming logic white space (Alain Russell 2003)
  8. Re: removing programming logic white space (Rob Marquardt 2003)
  9. Re: removing programming logic white space (Dale LaFountain 2003)
  10. Re: removing programming logic white space (Lucas Rockwell 2003)
  11. Re: removing programming logic white space (Rob Marquardt 2003)
  12. Re: removing programming logic white space (Glenn Busbin 2003)
  13. Re: removing programming logic white space (Rob Marquardt 2003)
  14. Re: removing programming logic white space (Brian Fries 2003)
  15. Re: removing programming logic white space (Rob Marquardt 2003)
  16. Re: removing programming logic white space (Lucas Rockwell 2003)
  17. Re: removing programming logic white space (Brian Fries 2003)
  18. Re: removing programming logic white space (Lucas Rockwell 2003)
  19. Re: removing programming logic white space (devaulw@onebox.com 2003)
on 6/11/2003 7:54 pm, Dale LaFountain at dalel@darkhorse.com so noted...> -file begin- > [!][/!][LISTWORDS > delimiters=%09%0A%0C%0D&words=[url] > > blah blah lotsa cr's > > [/URL]][showif [url][word][/url]~[url] [/showif][WORD][/LISTWORDS] > -file end-Except that takes even more processing time than using comments.When removing tabs and returns from a loop of 6000 chunks of text, here's the averaged overhead in ticks for each method on my (slow and under load) development machine running OS X:Grep: 70 Comments: 80 Listwords: 540Without the [showif], the time for Listwords is 336 (what's it there for?)Doing tests with more real world strings instead of my initial test with short lines and returns narrows grep's lead, but it still beats using comments (with the bonus of greater code legibility). Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.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://webdna.smithmicro.com/ Rob Marquardt

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:

unsubscribe (1997) more [sendmail] woes.. (2000) WebCat editing, SiteGuard & SiteEdit (1997) WebCat2: Items xx to xx shown, etc. (1997) Search for dates greater than [date] (1997) Possible Bug in 2.0b15.acgi (1997) How to set suffix mapping on IIS 5.1 ... (2004) [ShowIf] if the varieable exists (1998) This is a Test, sorry (1999) [WebDNA] unix timestamp in WebDNA (2009) OFF TOPIC: help wanted (1997) expired beta (1997) Questions (1998) GetPOPmail (2000) Displaying photo attached to first record (1997) Using Cookie for client specific info? (1997) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) & in Lookups (1997) WebCat for Unix?? (1997) problems with 2 tags shakur (1997)