#36896: Optimize TruncateCharsHTMLParser.process() to avoid redundant sum()
calculation
-------------------------------------+-------------------------------------
Reporter: Tarek Nakkouch | Owner: absyol
Type: | Status: closed
Cleanup/optimization |
Component: Utilities | Version: 6.0
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by absyol):
Thank you so much for the feedback. I ran a benchmark on an HTML string
greater than 1000 characters and I don't see much of an improvement from
my changes. I apologize for moving quickly and will do more verification
on the problem before working on the fix moving forward.
--
Ticket URL: <https://code.djangoproject.com/ticket/36896#comment:9>
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/0107019c3e2c324d-4eabf8b2-b850-4693-8706-775bc20d6e36-000000%40eu-central-1.amazonses.com.