[omniORB] How avoid copying "in" parameters?
DA SILVA Antonio
adasilva at carax.com
Mon Feb 11 12:18:44 GMT 2008
Hi Duncan,
I have not profiled my application, I'm just
starting writing new code for my new application!...
I have just noticed this C++ mapping feature in
omniORB and I have just to compromise with it.
In fact it's not a very big prb, it's just an habit
I have : trying to write the better/performant code
I can, as soon as possible in my projects. This why
I choose omniORB : it is, in my opinion, the most
performant CORBA I ever seen.
For the moment, I will use omniORB whitout any
modifications in its internal things.
Antonio.
Duncan Grisby a écrit :
> On Thursday 7 February, DA SILVA Antonio wrote:
>
>
>> When I declare a parameter as "in" inside an IDL,
>> it is then implemented as a reference in C++.
>> How can I store the parameter/data I receive in this
>> reference without copying it?
>>
>
> As others have said, in general you can't unless you escape the C++
> mapping and use omniORB internal interfaces.
>
> Before beginning to contemplate that, have you profiled your application
> and found that the copying is actually an issue?
>
> Cheers,
>
> Duncan.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20080211/23c0d678/attachment.htm
More information about the omniORB-list
mailing list