On Thu, 2011-06-09 at 17:05 -0400, Jeremy Moles wrote:
> Hey Robert...
> 
> Here's an updated Style.cpp that has a proper operator==() method.
> 
> I found some bugs in it while working on caching Style and Bevel
> objects...
> 
> Hope your workload isn't causing your head to explode... :)

I have some disturbing news regarding this patch: it looks like you
ALREADY had some caching happening inside of Glyph.cpp. It was failing
every time because of an improper operator==() routine, but now that
it's working properly (with this patch), osgText::Text3D is obscenely
faster... we're talking order or magnitude here. For example:

0.281644   vs   1.08468
0.00345    vs   1.11249
0.000454   vs   9.64976

...for various strings. The 3rd result is a sequence of 300 "a"
characters. The first number in these tests are WITH the proper Style
operator==(), the second are without.

This is unsettling, beacuse the primary motivation behind my research
into TextNode was simply to speed it up, but it looks like it was only a
small bugfix away from having worked all along.

Ugh...

> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org


_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to