Pull requests

#118 Merged
Repository
pypy/pypy 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.

  • Learn about pull requests

Comments (0)