Hi Andras,

> I would like to ask that structure sharing is used in pil32 bigNums or not ?
> In doSub(), doAbs() it uses structure sharing, but otherwise in big.c
> it copies the argument then modifies it.

Correct. And also in pil64 and pil21.

All other arithmetic operations except add/sub cannot share structures, because
the whole number is modified. What *is* used whenever possitle are destructive
operations to avoid unnecessary copies.

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to