diff options
| author | Kasyap Pentamaraju <vpentamaraju@webmd.net> | 2025-11-03 22:57:53 +0530 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-11-07 14:06:42 -0500 |
| commit | 1c7db70e79dce82f50d5958da64ab8e2807a31df (patch) | |
| tree | 46f77c845c3eba08cf57a9b17918d0d68424f432 /docs/topics | |
| parent | 27687475265f88bc0a0bcbfe2ba26da306bbfc20 (diff) | |
Fixed #36705 -- Avoided string concatenation in utils.
Repeated string concatenation performs poorly on PyPy.
Thanks Seokchan Yoon for the report.
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/performance.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/topics/performance.txt b/docs/topics/performance.txt index dcffb1a683..2935f21f67 100644 --- a/docs/topics/performance.txt +++ b/docs/topics/performance.txt @@ -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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
