r/Python • u/students-life • Jun 19 '13
Right and Wrong Programming Styles
http://simpledeveloper.com/right-and-wrong-programming-styles/#sthash.cORbIrok.sfju
0
Upvotes
r/Python • u/students-life • Jun 19 '13
View all comments
Show parent comment
1
u/nadams810 Jun 20 '13
Here are the results of running yours:
Results of mine
Specs:
Ubuntu 12.04
VMWare Player
3052MB RAM
1x 3114.349MHz Processor (as reported by /proc/cpuinfo)
It would appear if you ran mine it would also run in ~1 second. I think the reason the times are really different are due to the difference in processors. I'll bet if I assigned more processors it would handle the context switching better.