[sldev] Optimizing OpenJPEG (oprofile kicks ass)

Callum Lerwick seg at haxxed.com
Thu Mar 29 10:27:12 PDT 2007


On Thu, 2007-03-29 at 19:05 +0200, Stefan Westerfeld wrote:
> Using memset() should also do the trick.

Yeah, I have memset hacked in at the moment, on my way to calloc... :)

> > That should eliminate quite a bit of cache thrashing...
> 
> Look into my version for changes that do both (and more):
> 
> http://space.twc.de/~stefan/quickOpenJPEG/

So that's what it does. :)

> But maybe it would be good if the trivial modification (removing cache
> trashing) would already be backfolded upstream, without the more
> sophisticated optimizations being done yet. There is a google group for
> open jpeg optimization these days:
> 
> http://groups.google.com/group/openjpeg

Yeah, I'm just snagging some low hanging fruit. And I'm sticking to C.
Oh boy are dynamically allocated multi-dimensional arrays fun to do in
C. ;P
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070329/eba9ccb9/attachment.pgp


More information about the SLDev mailing list