[interfacekit] Re: BSession(NG)

Adi Oanca <adioanca@xxxxxxxxx> wrote:
> Axel Dörfler wrote:
> >>>Also, never split the message into two port calls.
> >>No. I'm sorry, I will never agree with you on this one!
> > Can you elaborate a bit on why you don't do that?
> > Doing 2 port writes of 1024 should be slower than doing 1 write of 
> > 2048, no matter if you need to allocate the memory (or part of it) 
> > first - and the problem should get worse the more parts the message 
> > will have.
>       :-)) This is fuuun.
>       That's exactly the reason.
>       "message" here was: BWindow/BView message (ex: AS_DRAW_LINE+x+y+x1+
> y1) 
> not a port(system/kernel) message.

I don't understand you.

Bye,
   Axel.


Other related posts: