#30772: Template Cache "make_template_fragment_key" function speed up & switch
to
SHA256
--------------------------------------+------------------------------------
Reporter: Daniel | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Core (Cache system) | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Claude Paroz):
* stage: Unreviewed => Accepted
Comment:
I think I would separate the hashing algorithm issue, which seems to be
the subject of #28401. In that perspective, using the `hashlib.blake2s`
should also be evaluated, as it seems even quicker than MD5!
(http://atodorov.org/blog/2013/02/05/performance-test-
md5-sha1-sha256-sha512/ notably the 2017 update of the post)
Could you make a version of your patch while keeping MD5?
--
Ticket URL: <https://code.djangoproject.com/ticket/30772#comment:3>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/070.0fba39dd2c9ba17249fd421229b5f37b%40djangoproject.com.