[Bf-committers] Re: [Bf-blender-cvs] CVS commit: blender/source/blender/imbuf/intern IMB_jpeg.h jpeg.c readimage.c

Martin Poirier theeth at yahoo.com
Wed Mar 1 00:45:22 CET 2006



--- Alexander Ewering <blender at instinctive.de> wrote:

> 
> On Tue, 28 Feb 2006, Kent Mein wrote:
> 
> > sirdude (Kent Mein) 2006/02/28 19:30:16 CET
> 
> >  I also changed a switch statement that had the
> same loop for all
> >  cases, just moved the loop outside of the switch
> statement.
> 
> Did you benchmark this and are you sure that it
> isn't a lot slower than the
> original code?

It shouldn't be that much slower. Branch prediction is
much better than it used to be.

Martin

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Bf-committers mailing list