timing test OSX/PPC
Darin Adler
darin at apple.com
Wed Feb 11 20:39:51 CET 2004
On Feb 11, 2004, at 11:27 AM, Dirk Mueller wrote:
> Then I don't have an explanation for this:
>
> WebCore/khtml/dom$ grep dynamic_cast dom2_events.cpp | wc -l
> 8
>
> Its not something you got from our tree.
Looking at your tip of tree code, it looks like you guys did something
similar, but using virtual functions. That seems better, just in case
any of this code is ever used in a loop.
I'll fix that.
I don't feel too bad about shipping these dynamic_cast calls in Safari
1.2, since it's very unlikely that the difference in speed will have
any real effect. It would have to be some strange JavaScript indeed to
make these calls enough times to make a real speed difference.
-- Darin
More information about the Khtml-devel
mailing list