#36190: High memory usage of CommonPasswordValidator
-------------------------------------+-------------------------------------
Reporter: Michel Le Bihan | Owner: Priyanshu
Type: | Singh Panda
Cleanup/optimization | Status: closed
Component: contrib.auth | Version: 5.1
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage:
CommonPasswordValidator | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Priyanshu Singh Panda):
Replying to [comment:5 Michel Le Bihan]:
> Hello,
>
> Thanks for looking at this. How are you planning to reduce memory usage?
I plan to optimize memory and processing time by implementing a Bloom
filter. This will reduce memory usage by storing only essential data and
speed up lookups using a probabilistic approach. I have also validated the
improvements using the @profile function, which tracks memory usage per
line of code. After implementing the Bloom filter, both time and memory
usage have been significantly reduced.
--
Ticket URL: <https://code.djangoproject.com/ticket/36190#comment:6>
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/01070195181bcea3-82c15256-4bc1-441f-94d9-c13a8fcb4782-000000%40eu-central-1.amazonses.com.