[omniORB] How avoid copying "in" parameters?

Teemu Torma teemu at torma.org
Thu Feb 7 15:19:19 GMT 2008


On Thursday 07 February 2008, DA SILVA Antonio wrote:
> I'm not sure what you mean, but be carefull with
> "in/out" parameters : the parameter is sent by the caller
> throught the network to the servant and then sent back
> throught the network to the caller even if it is not
> modified. It passes 2 times in the network.
> It could be network bandwith consuming
> in that case...

If you steal the contents it will get back as an empty sequence for 
example, which is not too bad.  If it is local caller, there is no 
overhead.

I would assume that this is a case of local caller.  Otherwise the 
overhead of copying would not be something to be too worried about.

Teemu



More information about the omniORB-list mailing list