25 Dec
2003
25 Dec
'03
8:44 a.m.
Bryce Harrington wrote:
On Wed, 24 Dec 2003, Jon A. Cruz wrote:
So, how much time does it save?
Supposedly, librsvg can be faster than libpng for a comparable image in many cases. So what type of savings are we talking here? Or is this another case of premature optimization? ;-)
They're being rendered by libnr not librsvg. The stroke-drawing code getting accessed hundreds or thousands of times during startup with a blank document.
The point remains - please profile it before changing it. Using SVGs removes one level of human error remembering to autogen the pngs. I would be surprised if the stroking code really does take too long - plenty of games do stroking at 60fps on complex structures.
njh