From 1c7db70e79dce82f50d5958da64ab8e2807a31df Mon Sep 17 00:00:00 2001 From: Kasyap Pentamaraju Date: Mon, 3 Nov 2025 22:57:53 +0530 Subject: Fixed #36705 -- Avoided string concatenation in utils. Repeated string concatenation performs poorly on PyPy. Thanks Seokchan Yoon for the report. --- docs/topics/performance.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') 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 +`_). +This may cause performance issues, depending on your use. + C implementations of Python libraries ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- cgit v1.3