News for hackers. Stuff that matters.

overnover

Re:Array is slow in python? on Thursday February 07, 2013 @09:09PM (#5185879)
True, and I like python list alot as it offer the ability to hold heterogenous objects and it's really flexible & simple. Just happened to using list the other day to cache a large 2d array, which turned out to be slow. Certainly, my implementation has room for improvement, and my comparison isn't straightly an apple to apple. Taken down the post n modifying. Thanks for the comment btw.
Re:Array is slow in python? on Wednesday February 06, 2013 @10:14PM (#5180300)
Agreed. Have given list a try actually, the speed is better, but still not efficient enough.
Re:Array is slow in python? on Wednesday February 06, 2013 @09:31PM (#5180149)
yup, the code run significantly faster than before. tho it's still relatively slower than C.
assuming a decent computer is affordable by average ppl. why bother killing this n that, switching here and there just to accomodate an old/cheap computer? just my thought :)
i prefer macbookair 13' 1440x900 more vertical space. but yes, retina -> standard is the way to go.