1. 17 Aug, 2015 6 commits
  2. 16 Aug, 2015 2 commits
  3. 15 Aug, 2015 4 commits
  4. 14 Aug, 2015 19 commits
  5. 13 Aug, 2015 6 commits
  6. 12 Aug, 2015 3 commits
    • Kevin Modzelewski's avatar
      Save the key hash in dictionaries · 74a42c5e
      Kevin Modzelewski authored
      This lets us avoid checking equality if the hash values didn't match.
      Checking equality can involve calling into user code, so it can be both
      a perf drain and a noticeable behavioral difference.
      74a42c5e
    • Kevin Modzelewski's avatar
      Have pypa parse strings directly · b50324db
      Kevin Modzelewski authored
      Previously we would always write out the data to a file, and then
      call the parser on it.
      
      Most of this is refactoring to split the file-handling logic (ie reading
      from a FILE*) from stream-handling logic (encoding, counting line numbers,
      etc).  One tricky point is handling encoding markers inside strings-to-
      parse; we (and CPython) handle the file case by creating a Python file
      object to iterate over it, and CPython handles the string case with a special
      function to pre-process and decode the string.  This commit takes the
      approach of creating a cStringIO file-like-object and running it through
      the same decoding logic as the file case.
      b50324db
    • Kevin Modzelewski's avatar
      Merge pull request #825 from kmod/perf3 · b6e726c0
      Kevin Modzelewski authored
      Change isSubclass(obj->cls, int_cls) to PyInt_Check
      b6e726c0