Wow, Python much faster than MatLab

Steven D'Aprano steve at REMOVE.THIS.cybersource.com.au
Sat Dec 30 03:03:57 EST 2006


On Fri, 29 Dec 2006 19:35:22 -0800, Beliavsky wrote:

>> Especially I like:
>> - more relaxed behavior of exceeded the upper limit of a (1-dimensional)
>>   array
> 
> Could you explain what this means? In general, I don't want a
> programming language to be "relaxed" about exceeding array bounds.

I'm not sure about SciPy, but lists in standard Python allow this:

>>> array = [1, 2, 3, 4]
>>> array[2:50000]
[3, 4]

That's generally a good thing.




-- 
Steven.




More information about the Python-list mailing list