|
From: | Erik Søe Sørensen |
Subject: | Re: [glob2-devel] To Erik: My Profiling Information |
Date: | Sun, 09 Sep 2007 03:42:34 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; da; rv:1.7.13) Gecko/20060717 Debian/1.7.12-1.1ubuntu2 StumbleUpon/1.9995 |
Stéphane Magnenat skrev:
Running glob2 with GL leads to a low CPU usage, so I don't think that concretely Sprite::getW is much of an issue. I think that maintaining a coherent architecture for libgag from a software design point of view is more important than some minor speed optimization.Don't worry - I know that virtual methods are a design decision, and that they should not be devirtualized on a whim. I merely wanted to see if there were compelling reasons to consider changing it, given that getW on that test run appeared to take 8% of the total time (which seemed to me rather a lot for a simple accessor call).
- And the result was that, no, there doesn't seem to be reason to consider it. :-)
/Erik
[Prev in Thread] | Current Thread | [Next in Thread] |