[thelist] Digital Cameras revisited, and a tip

M. Hannan desmoljones at hotmail.com
Thu Dec 28 12:21:46 CST 2000


I was one of the biggest proponents of the Olympus...and here I sit with an 
HP 215...word to the wise, don't.  Buy the Olympus.

m@


>From: Scott Dexter <sgd at ti3.com>
>Reply-To: thelist at lists.evolt.org
>To: "Evolt (E-mail)" <thelist at lists.evolt.org>
>Subject: [thelist] Digital Cameras revisited, and a tip
>Date: Thu, 28 Dec 2000 10:52:39 -0600
>
>Well, if you guys remember, I was shopping for a digital camera back at the
>end of November. The consensus concluded on something like the Olympus
>D340L. I had my heart set on that exact camera, and happened to mention it
>(in passing) to Santy Claus .... Santy brought an Olympus D490. Needless to
>say I love it!
>
><tip type="simple optimization">
>trim your loops down to the nitty gritty. Don't do *any* operation inside a
>loop that you don't have to. Overly simple example with a catch
>(pseudocode):
>
>Before
>------
>for i=0 to 100
>   pig = formvalue(pig)
>   pigcounter = pig + i
>next
>
>After
>------
>pig = formvalue(pig)
>for i=0 to 100
>   pigcounter = pig + i
>next
>
>--Now I know some of you may be thinking this:
>for i=0 to 100
>   pigcounter = formvalue(pig) + i
>next
>
>will be an acceptable optimized loop; however, accessing the formvalue 
>value
>a hundred times is expensive (slower) compared to setting it to a temp
>variable.
></tip>
>
>sgd
>--
>work: http://www.ti3.com/
>non: http://thinksafely.org/
>
>---------------------------------------
>For unsubscribe and other options, including
>the Tip Harvester and archive of TheList go to:
>http://lists.evolt.org Workers of the Web, evolt !

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





More information about the thelist mailing list