Skip to content

Razvan Tudorica

Keep it simple!

  • Home
  • Wiki
  • About me

Recent Posts

  • Don’t repeat the logic in the unit tests
  • Why there are so many wrong strategies?
  • How to win friends and influence people in 10 steps
  • docker-compose very slow
  • Backup database in S3

Recent Comments

  • Cannot redeclare geoip_country_code_by_name | WebDev Blog on Cannot redeclare geoip_country_code_by_name
  • explainanalyze on Web server in one line of bash
  • David on git tags use
  • Graby400 on How to play HLS with JWPlayer
  • Liviu on About me

Archives

  • September 2022
  • July 2022
  • June 2020
  • January 2020
  • December 2019
  • August 2017
  • March 2017
  • October 2015
  • July 2015
  • June 2015
  • February 2015
  • December 2014
  • October 2014
  • July 2014
  • June 2014
  • April 2014
  • March 2014
  • February 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • May 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • July 2012
  • July 2011
  • June 2011
  • May 2011
  • March 2011
  • January 2011
  • December 2010

Categories

  • Books
  • DevOps
  • Programming
  • Self Development
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Month: January 2013

Tip: List vs. Set in Python

In Python, if you have a “list” with a lot of members and you need to do many membership checks, it will be better to use a “set” instead, because the checks are linear for lists and constant for sets.

Posted on January 24, 2013July 20, 2014Categories UncategorizedTags list, python, setsLeave a comment on Tip: List vs. Set in Python
Privacy Policy Proudly powered by WordPress