lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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...