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

Re: MATLAB



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.

-m



__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com