Re:Replacing Python
by eevee on Monday September 30, 2013 @10:20PM
(#6473649)
Whoops! I could've sworn that said "without", sorry :)
Though I'm not sure `__slots__` actually saves any time, as it's really a space optimization. I've tried it before for hot code and even seen very slight (probably not significant) slowdowns.
Though I'm not sure `__slots__` actually saves any time, as it's really a space optimization. I've tried it before for hot code and even seen very slight (probably not significant) slowdowns.