Dylan: Choose which option you feel most comfortable with. Then if this comparision becomes the slowest part of your program, optimize then.
________________________________________ From: [email protected] [[email protected]] on behalf of silky [[email protected]] Sent: Monday, May 17, 2010 9:19 PM To: ozDotNet Subject: Re: How To do something every so often On Tue, May 18, 2010 at 2:04 PM, Bill McCarthy <[email protected]> wrote: > Possibly, but if you make the code multithreaded you'd have to use an > interlocked increment. Use of a >= or a higher order bit bit-mask means you > don't have to lock as such (if you aren't worried about the exact count) This is a very strange comment. -- silky http://www.programmingbranch.com/
