Re: [GD-Windows] forcing value to bool 'true' or 'false' (performance warning)
Brought to you by:
vexxed72
From: Rich <leg...@xm...> - 2002-04-23 02:30:21
|
In article <HEE...@mi...>, "Jon Watte" <hp...@mi...> writes: > The re-write you propose will generate > a branch, which will not predict well, which is a REALLY bad thing. Nonsense. Nothing can universally be declared bad. "Bad things" can only be measured in context. You won't know if this is good or bad (or even significant) until you profile your app and determine that this is the limiting factor. I'm highly dubious that it ever will be -the- limiting factor, but even if it ever is, you can't say that until you measure it and determine that to be the case. -- Ask me about my upcoming book on Direct3D from Addison-Wesley! Direct3D Book <http://www.xmission.com/~legalize/book/> izfree: Open source tools for Windows Installer <http://izfree.sourceforge.net> |