ryguw,

And a few bonus tricks to speed up your application:

  1. Don't print() anything until the end
  2. Use sets instead of lists
  3. Use dicts instead of lists
  4. Don't forget to break a loop when the objective is reached (good enough), loops don't always have to finish
  5. When working with multi-dimensional data, try to determine which index ranges really need to be looped over

Know any tips that should be on this list? 🫵

  • All
  • Subscribed
  • Moderated
  • Favorites
  • python
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines