Skip to content

Instantly share code, notes, and snippets.

@NelsonMinar
Created April 7, 2016 19:12
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NelsonMinar/90212fbbfc6465c8e263341b86aa01a8 to your computer and use it in GitHub Desktop.
Save NelsonMinar/90212fbbfc6465c8e263341b86aa01a8 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rhaps0dy
Copy link

rhaps0dy commented May 3, 2017

I tried a comparison with:

len(list(a))

It performs slightly better than len(tuple(a))

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