novehrady discussions

Waldo Bastian bastian@kde.org
Fri, 29 Aug 2003 12:00:34 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 29 August 2003 01:06, Havoc Pennington wrote:
> III. Move typecodes to a single block
> ===
>
> Right now the message body is "typecode, data, typecode, data"
> and suggestion is to move to "typecode, typecode, data, data"
>
> This slightly decreases message-creation efficiency since each append
> arg operation affects two places in the message.
>
> The reason for the change is to speed up method resolution and
> typechecking. If you allow overloaded methods as C++ does then you
> need to include the signature in the method lookup.  Even in C it may
> be faster or nicer to do all the typechecking up-front.

DCOP allows overloading but it is cumbersome in combination with scripting 
languages that don't have strong typing. Life is easier without overloading.

Cheers,
Waldo
- -- 
bastian@kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian@suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/TyRCN4pvrENfboIRAlfwAJ92pJrBcdf9M2a7WMasuLBpGmjlSQCaA2i7
FXYakaxwu13HLt+1N1XWFY4=
=WZA9
-----END PGP SIGNATURE-----