[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Adding several methamethods could be helpful
- From: Rebel Neurofog <rebelneurofog@...>
- Date: Sun, 27 Mar 2011 13:56:52 +0400
> I do see merit in this; many times I've been bitten by not being able
> to reuse memory in calculations
> eg, a=b+c*d
> ==> a temporary object (for c*d) is created; and using one of the
> operand's memory is difficult, if not impossible for some
> circumstances.
>
Honestly, you're right about things like 4x4 matrices or whatever mathematical:
there are few cases where you can reuse memory of destination object.
I was interested if there are some useful cases in coders' experience.
Maybe, just crazy thoughts of too much API coding during night...