Re: removing programming logic white space

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 51080
interpreted = N
texte = >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: 540 > >Without 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). I have always used convertchars with a special db that only has tab and cr and lf in it. Have you compared this with grep to see which is faster? I'll do it if you send me the grep code that processes only these three characters ... :) -- Sincerely, Kenneth Grome ------------------------------------------------------------- My programmers write WebDNA code at $18 an hour or less! -------------------------------------------------------------------------------------------------------------------------- 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)
>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: 540 > >Without 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). I have always used convertchars with a special db that only has tab and cr and lf in it. Have you compared this with grep to see which is faster? I'll do it if you send me the grep code that processes only these three characters ... :) -- Sincerely, Kenneth Grome ------------------------------------------------------------- My programmers write WebDNA code at $18 an hour or less! -------------------------------------------------------------------------------------------------------------------------- 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/ 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:

Help with [search] sort (2003) RE: WebCatalog2 for NT Beta Request (1997) shoppingcart reload qty (1997) billing system (2003) Re:2nd WebCatalog2 Feature Request (1996) RE: Answer: WebDelivery downloads alias, not original ? (1997) WCf2 and nested tags (1997) WebMerchant 1.6 and https (1997) fax orders (2003) carriage returns in data (1997) WebCatalog 2.1 for NT (1998) [/application] error? (1997) headers (2004) This is a Test, sorry (1999) Upgrade Pricing? (2003) emailer (1997) BUG REPORT: numeric ge, le, gr & ls comparisons don't work ... (1999) Listserver problem (1997) notification solutions (1997) really wierd date stuff on NT (1997)