Re: removing programming logic white space
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 50998
interpreted = N
texte = on 6/9/2003 4:20 pm, Brian Fries at webdna@brainscansoftware.com so noted...> Tons faster. Once I saw the difference, I didn't bother with time> trials, just changed my coding style... I found that the number of> context that WebDNA has to deal with has a great effect on its> performance. Replacing dozens of comment contexts with a single grep> makes a big difference.Very cool! I was comparing a loop containing five comment tags and one thathad carriage returns removed with a single [grep] and grep was twice asfast! I'm definitely going to be revisiting some time-critical code on theserver -- thanks for the tip!Also, if the method is being used multiple times on a page, the entireargument string can be put into a variable for brevity:[text]ss=search=[%0D%0A][%0D%0A%09]*&replace=%0D[/text][grep [ss]]...[/grep]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/9/2003 4:20 pm, Brian Fries at webdna@brainscansoftware.com so noted...> Tons faster. Once I saw the difference, I didn't bother with time> trials, just changed my coding style... I found that the number of> context that WebDNA has to deal with has a great effect on its> performance. Replacing dozens of comment contexts with a single grep> makes a big difference.Very cool! I was comparing a loop containing five comment tags and one thathad carriage returns removed with a single [grep] and grep was twice asfast! I'm definitely going to be revisiting some time-critical code on theserver -- thanks for the tip!Also, if the method is being used multiple times on a page, the entireargument string can be put into a variable for brevity:[text]ss=search=[%0D%0A][%0D%0A%09]*&replace=%0D[/text][grep [ss]]...[/grep]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/
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:
WebCat/CyberStudio Compatibility (1998)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
Multiple security dbs (1997)
Validation (2000)
SiteGuard Admin Feature ? (1997)
syntax question, not in online refernce (1997)
Help with database strategy (1998)
listing certain items in the orderfile (2002)
Who's going to MacWorld? (1999)
WebCatalog 402rc2 is now available (2001)
forms and variables (1998)
Is this possible, WebCat2.0 and checkboxes (1997)
Emailer setup (1997)
webcat restarting script on Linux? (1999)
RE: WebDNA-Talk searchable? (1997)
updating with ProductEditor (1998)
Re(2): Problem about [CART] number (1998)
Logging purchases (1997)
Re:listfiles-looking for slick solution (1997)
WebCommerce: Folder organization ? (1997)