Which coding style is better? public API or private method inside class definition
Jacek Krysztofik
default at tlen.pl
Wed Jan 5 11:59:06 EST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Sorry for OT, but this is actually a question of mine
> if numbers % 2 == 0:
wouldn't the following be faster?
> if numbers & 1 == 0:
JK
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iF4EAREIAAYFAk0ko1oACgkQfD3PECtxdkWzPAD+LD32NzjjDm8gb8qVFydIT693
ORuhRaYZOriaf+36/yMBAIREiarQAJ2ZYX8NPyHS2ns22PkEEEAkC98OYf1CkhwK
=tg7G
-----END PGP SIGNATURE-----
More information about the Python-list
mailing list