[sldev] performance with LLPointer

Nicholaz Beresford nicholaz at blueflash.cc
Fri Jul 13 14:16:52 PDT 2007


 > It can, because of the need to constantly update refcounts.  That
 > imposes a small compute overhead and has something of a cache impact.
 > How measurable is hard to say, but I wouldn't want to be fiddling with
 > LLPointers in a place I knew was an inner loop.

I'd approach this in the way like with the LLDrawInfo, that is changing
vector/list members to LLPointer but leaving function calls off those
members (or pointers inside functions) regular C++.


Will probably give it a grep to see how many they are, just wanted
to know upfront if anyone says that it would be an undesired thing
to do with the faces (given that there's even an llface.inl file with
inlines for these.


 > including some recent killer memory leaks from the past few months.

:-)


Thanks


Nick
---
Second Life from the inside out:
http://nicholaz-beresford.blogspot.com/




More information about the SLDev mailing list