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

Kent Mein mein at cs.umn.edu
Tue Feb 28 23:06:38 CET 2006


In reply to Alexander Ewering (blender at instinctive.de):

> 
> 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?

No.  It was easyer to read this way.  I'll test it though and if its a big
preformance hit switch it back.

Kent
-- 
mein at cs.umn.edu
http://www.cs.umn.edu/~mein


More information about the Bf-committers mailing list