GNU bug report logs -
#40355
[PATCH] Implement caching for libravatar lookup
Previous Next
Reported by: Philip K <philip <at> warpmail.net>
Date: Tue, 31 Mar 2020 18:04:02 UTC
Severity: normal
Tags: fixed, patch
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 40355 <at> debbugs.gnu.org (full text, mbox):
Robert Pluim <rpluim <at> gmail.com> writes:
> Philip> I added it because I was considering defining gravatar-libravatar-cache
> Philip> as
>
> Philip> (let ((cache (make-hash-table :test 'equal)))
> Philip> (dolist (domain '("aol.com" "att.net" "comcast.net" "facebook.com"
> Philip> "gmail.com" "gmx.com" "googlemail.com" "google.com"
> Philip> "hotmail.com" "hotmail.co.uk" "mac.com" "me.com"
> Philip> "mail.com" "msn.com" "live.com" "sbcglobal.net"
> Philip> ;; ...
> Philip> ))
> Philip> (gravatar--service-libravatar (concat "ignored@" domain) cache))
> Philip> cache)
>
> Philip> with a few popular domains. The only issue is that evaluating it takes
> Philip> forever.
>
> Perhaps thatʼs a sign that pre-population is not needed :-)
It's not needed, but as soon as it is pre-populated the user experience
becomes a lot better. But unless there's a sensible way to fix it, I'll
just resubmit the patch without the optional argument :/
--
Philip K.
This bug report was last modified 4 years and 274 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.