#36705: Repeated string concatenation is slow on some python implementations, in
particular PyPy
-------------------------------------+-------------------------------------
     Reporter:  Jacob Walls          |                    Owner:  Varun
         Type:                       |  Kasyap Pentamaraju
  Cleanup/optimization               |                   Status:  closed
    Component:  Utilities            |                  Version:  dev
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  PyPy                 |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls):

 Thanks for spotting the logic change. I replied that there's a chance the
 logic change is more correct: we should add a test to be sure.

 I heard that Django has never supported PyPy as a deployment target.
 Despite whispers of PyPy winding down, it seems to be slowly keeping up in
 its own time.

 For me, this change wasn't just about PyPy. I was persuaded by the linked
 blog post's explanation that even in CPython adequate performance on
 catastrophic string concatenation depends on a fragile optimization.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36705#comment:12>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019aa333cd62-5c2c0d99-4802-4793-bbf0-94ac49c30317-000000%40eu-central-1.amazonses.com.

Reply via email to