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'sthe averaged overhead in ticks for each method on my (slow and under load)development machine running OS X:Grep: 70Comments: 80Listwords: 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 withshort lines and returns narrows grep's lead, but it still beats usingcomments (with the bonus of greater code legibility).Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.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:
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]