Definitely the latter. Serializing and deserializing the data again just for communication within the process would be a waste of processing time.
I am with wysota on the multithreading thing: start with a single threaded version. If the networking or processing becomes too much for the main thread, move that to a thread.
Cheers,
_






Reply With Quote
Bookmarks