On 2005-07-24 12:34:56 +0100 la le <[EMAIL PROTECTED]> wrote:
hi, i was wondering how good the performence of the distributed objects were,
Pretty good ... though if performance is important, you need to take care haow you use DO (but thatr's tru of any code you write).
specifically, I'm trying to make a game, and was making the server parts for keeping track of where every object is, what its doing, etc. that part will then allow multiple users to connect, and it will broadcast changes to all the others, but since it keeps all the info on objects in a NSMutableSet, i was wondering if the users should address the server using id_tags's (numbers of type int), or just have them talk as if the server were in the main program, and pass the object id's themselves (the ones of type id). so does gnustep's distributed objects already do that (or something similar behind my back) or will it be better just to deal with id_tags on all objects?
Unless you send objects bycopy, they go as proxies (in effect 4 byte tokens), so sending your own id_tags will be slightly less efficient than what DO already does ... theough the decrease in efficiency would be insignificant.
_______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
