Skip to content

Instantly share code, notes, and snippets.

@igorgue
Created June 13, 2011 15:22
Show Gist options
  • Save igorgue/1022976 to your computer and use it in GitHub Desktop.
Save igorgue/1022976 to your computer and use it in GitHub Desktop.
Fuck Python!
# 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
@fitoria
Copy link

fitoria commented Jun 13, 2011

u gay

@igorgue
Copy link
Author

igorgue commented Jun 13, 2011

Python is...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment