#34521: Use __slots__ for template Node classes
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Owner: Adam
Type: | Johnson
Cleanup/optimization | Status: closed
Component: Template system | Version: dev
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Adam Johnson):
Reopening with a more limited plan (adding `__slots__` to `Node`, its
subclasses, and `NodeList` only), following this forum discussion and
benchmark: https://forum.djangoproject.com/t/add-slots-to-template-node-
classes-only/35387 .
--
Ticket URL: <https://code.djangoproject.com/ticket/34521#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/010701991a49eee6-1487b045-3cee-42bf-a6c5-143595b68a83-000000%40eu-central-1.amazonses.com.