14

I serialized and parsed a million reddit comments with spacy on my laptop.

It took over an hour.

And then, right when it finished....

http://imgur.com/TIiACHC

I forgot to change from json to ujson

FML.

Comments
  • 2
    @alwaysmpe Snark: If it won't work for 1, it won't work for 1 million.
  • 1
    I actually just forgot that at the last second I changed to ujson for speed. It's a module that I've been using for awhile. I just changed that one import and forgot to change that one call. It's something I should have caught though.
  • 0
    And that kids, is why we use compiled languages.

    Although I too really like Python :)
Add Comment