News for hackers. Stuff that matters.
Re:What Python learned from economics by Andys on Thursday November 27, 2008 @10:18PM (#379081)
It doesn't copy anything - it literally is calling "Array.new()" to generate a new array, every time one is needed.

To do it the python way, you'd have to use a global variable to store the array - which is exactly what python is doing for you. Doesn't sound so handy when its put like that, huh?

There are no comments on this comment yet.