1. Pypy
  2. Untitled project
  3. pypy
  4. Pull requests

Pull requests

#118 Merged at dcc4f89
Repository
pypy
Branch
default

Make unquote from urllib and urlparse faster

Author
  1. Konstantin Lopuhin
Reviewers
Description

Instead of building result by doing inplace addition of string, make a list of pieces and join them together. Before this fix pypy was way slower then cpython on long strings. Now it is about 2 x faster on long strings, and 4-5 x faster on small strings.

Comments (0)