Created
June 13, 2011 15:22
-
-
Save igorgue/1022976 to your computer and use it in GitHub Desktop.
Fuck Python!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is 4x faster: | |
error = " ".join(["Unknown filename:", filename]) | |
# Than this: | |
error = "Unknown filename: {0}".format(filename) # My preferred way... | |
# And 2x faster than this: | |
error = "Unknown filename: " + filename |
Python is...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
u gay