// you’re reading...

Asides

Stupid Python Mistake #301

Turns out the difference between using xrange and range to get the integers from 1 to 1 million is several gigs of virtual memory. Good to know.

Just one more good reason to proof my code before running, that missing x brought my system to a crawl.

Discussion

No comments for “Stupid Python Mistake #301”

Post a comment

 

June 2010
M T W T F S S
« May   Jul »
 123456
78910111213
14151617181920
21222324252627
282930  

Twitter Updates

  • The fact that @titus_ndronicus just tweeted about Alan Moore Swamp Thing says a lot about why I like that band. 6 hours ago
  • But I can't find a single online source that mentions any relation between the movies. Huh. 19 hours ago
  • Just watched A Better Life. Wonderful movie, highly recommended. I felt like it was heavily inspired by The Bicycle Thieves. 19 hours ago
  • Just figured out the next game I want to play. Y: The Last Man-inspired Apocalypse World. 21 hours ago
  • Well, @twylightdawns just found the big bad guy by getting drunk with some goblins, since that's one of her class features. 22 hours ago