Sort of. It's not really copy-on-write, because there is no "write" operation for bignums. (Same thing is true for strings.) Basically, all bignum operations creates a new bignum. (In practice, this is sometimes optimized to allow bignum modification, but that's not really relevant here..)
/ Fredrik (Naranek) Hubinette (Real Build Master)
Previous text:
2003-12-23 19:29: Subject: Re: C#-like properties
what about bignums? are they copy-on-write?
greetings, martin.
/ Brevbäraren