Skip to content
Snippets Groups Projects
Commit 9fc40ec9dd54 authored by Armin Rigo's avatar Armin Rigo
Browse files

Comment that this string-concatenation example does not apply on bytearrays.

parent d6e73e3ff15d
No related branches found
No related tags found
No related merge requests found
......@@ -226,7 +226,9 @@
the JIT cannot optimize out intermediate copies. This code is
actually quadratic in the total size of the mylist strings due to
repeated string copies of ever-larger prefix segments.
repeated string copies of ever-larger prefix segments. (Such code
is always fine for bytearrays, because in this case ``+=`` is an
in-place operation.)
This::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment