mirror of
https://github.com/django/django.git
synced 2025-11-19 11:15:44 +00:00
Fixed #36705 -- Avoided string concatenation in utils.
Repeated string concatenation performs poorly on PyPy. Thanks Seokchan Yoon for the report.
This commit is contained in:
parent
2768747526
commit
1c7db70e79
5 changed files with 30 additions and 22 deletions
|
|
@ -426,6 +426,12 @@ Django is compatible with versions of PyPy corresponding to the supported
|
|||
Python versions, but you will need to check the compatibility of other
|
||||
libraries you rely on.
|
||||
|
||||
That said, a lot of a web framework's work is done by concatenating
|
||||
strings, and PyPy has an issue with that (see
|
||||
`this PyPy blog
|
||||
<https://pypy.org/posts/2023/01/string-concatenation-quadratic.html>`_).
|
||||
This may cause performance issues, depending on your use.
|
||||
|
||||
C implementations of Python libraries
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue