JS speed - Konq vs. Mozilla
David Faure
david at mandrakesoft.com
Wed Sep 4 20:47:53 BST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> > > Real speed gain should be found elsewhere. A gprof output for the tested
> > > script, posted earlier in this thread, shows that KJS::Value::~Value() is
> > > called 299335 and KJS::Value::imp() 356709 times!
> >
> > Shouldn't those be inlined, simply?
>
> Would it not break BC (value.h is installed)?
No. Old code would still call the method, new code would benefit from being
able to copy its contents. AFAIK this is no problem.
> Btw, any ideas why
> 'putValue' is the only function where 'const Value' is not passed by
> reference?
Eek looks like a bug to me. That one can't be fixed in a BC way though :(
- --
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2-rc1 is out. ftp://ftp.kde.org/pub/kde/unstable/koffice-1.2-rc1/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9dmNp72KcVAmwbhARAgasAKCDc3em9dfIzTlbcyU9QeGDuoG+QwCfXR0e
ibCg3A0PvhOptz6khXRP2tY=
=eJXV
-----END PGP SIGNATURE-----
More information about the kfm-devel
mailing list