Ordering of JS properties
Darin Adler
darin at apple.com
Tue Feb 17 00:08:21 CET 2004
On Feb 16, 2004, at 2:46 PM, Harri Porten wrote:
> One word of caution in case I haven't posted this here before: I'm
> considered to revert the optimisation of adding virtual functions like
> Node::toString() etc. It reduces the number of value object creations
> but I'm not convinced anymore that this is worth the effort. Instead,
> the strategy should be to "compile better code" that is adapted to the
> operations required. More on that on another day in the future ...
I'm not so worried about doing something and then undoing it later.
Your idea about compiling better sounds like a better long term
direction. But I am concerned about changes that slow things down
rather than speeding them up.
My current merge does have those virtual functions. Are you worried
that those slow things down without speeding up enough to make up for
it? If they do speed things up, then I think it's fine to have the tree
that way until you implement the new approach.
(Just my 2 cents.)
-- Darin
More information about the Khtml-devel
mailing list