Y
Hacker News
new
|
ask
|
show
|
jobs
by
Shish2k
2616 days ago
Python gets 20% faster if you use `__slots__` on the Vector class which is created and destroyed millions of times. It's still the second-slowest, but it's a nice improvement :P