[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: novehrady discussions
From:       Waldo Bastian <bastian () kde ! org>
Date:       2003-08-29 10:00:34
Message-ID: 200308291200.35854.bastian () kde ! org
[Download RAW message or body]

-----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-----

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic