Skip to content

Instantly share code, notes, and snippets.

@kr-stn
Created June 16, 2023 07:23
Show Gist options
  • Save kr-stn/496ecbd4b1a8026762daa9373cb8baf4 to your computer and use it in GitHub Desktop.
Save kr-stn/496ecbd4b1a8026762daa9373cb8baf4 to your computer and use it in GitHub Desktop.
Speed comparison of Python for loop vs. list comprehension
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment