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


Copy-on-mutate isn't the same as pointer assigment.

With lazy evaluation you have the *semantics* of a = b[:] but the
performance of a = b.  As far as the user can tell, the individual
elements get copied over.  The actual copy gets delayed until the
latest possible moment.  This is a performance gain because sometimes
the latest possible moment is never.


Do You Yahoo!?
Send your FREE holiday greetings online!