These are chat archives for Exa-Networks/exabgp

Jul 2015
Peng Xiao
Jul 09 2015 09:03
is @classmethod classA.funA() faster than normal classA().funA() for a whole program view?
Thomas Mangin
Jul 09 2015 09:12
I do not believe it makes much speed difference on call but it does not require an instance to be created therefore it will save on setup and memory
Thomas Mangin
Jul 09 2015 16:02
@xiaopeng163 a quick test to see how it compares
conclusion, pypy rocks
on python, no much difference. on pypy classmethod are nearly as fast as non-class functions
That’s once you remove the class creation time which otherwise double the execution time.
Thomas Mangin
Jul 09 2015 16:10
Yes, pypy rocks