i recommend (a) to minimize the calls and exchange more data bit watch the size of what you pass as a script parameter.
PSoS has a tight limit of ~1MB to exchange.
the less calls you need the faster it is. there is a lot of overhead for each call. so i would pass as much as possible in as less as possible calls.
Thanks Uli !
Yes I was quite sure that the speed will be with less calls to PSoS. I will also see about some test to send more packets in separate calls if the size of the data being sent is getting close to the 1 MB.