Best way to pass large objects between tasks?
Best way to pass large objects between tasks?
- Subject: Best way to pass large objects between tasks?
- From: Oleg Krupnov <email@hidden>
- Date: Mon, 13 Apr 2009 09:09:41 +0300
I need to pass objects from one task (child) to another (parent) on
the same machine.
Currently I am considering two alternatives: Pipes vs Distributed
Objects, and my main concern is performance, because the object is
really large.
With pipes, I need to serialize (archive) the object into NSData
before transmitting, and deserialize (unarchive) back on reception.
This is going to be very time-taking.
My questions are:
1) Are DO going to be faster? Do DO also perform implicit
archiving/unarchiving of passed objects to/from NSData?
2) Are there other ways of passing objects between tasks?
Thanks!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden