Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: [PATCH] Two issues with the gnus-registry
Date: Mon, 10 Nov 2014 08:54:01 -0500	[thread overview]
Message-ID: <87bnoff9fq.fsf@lifelogs.com> (raw)
In-Reply-To: <87mw82jdbf.fsf@ericabrahamsen.net>

On Sat, 08 Nov 2014 16:39:48 +0800 Eric Abrahamsen <eric@ericabrahamsen.net> wrote: 

EA> So unless I'm really missing something, my proposal is:

EA> 1. Only provide one limit: max-size.
EA> 2. Allow customization of prune-factor.

EA> That seems like all the customization you'd need. Cap the size, and
EA> provide a reasonable control of how often the registry gets pruned.

OK. I am afraid I made the whole thing too complicated and it took
another set of eyes to recognize it.  Thanks for that, and the fixes.

Please go ahead and apply any changes you have in mind. I am sure no one
is tuning soft/hard pruning. Simpler is definitely better.

EA> That would require a change in the object signature, which would mean
EA> some extra handling code for "upgrading". But once we're doing that, we
EA> could also take the opportunity to add :prune-function and
EA> :sort-function slots on the base registry object, which would be
EA> nice. We could even change the default store filename from its "eioio"
EA> extension to "eieio". :)

Yeah, I remember that bug report about the extension of the database
file, if we're upgrading anyway... It's a good chance to batch these
changes.

Ted




  reply	other threads:[~2014-11-10 13:54 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-24 19:04 Eric Abrahamsen
2014-10-24 20:56 ` Eric Abrahamsen
2014-10-25 19:59   ` Eric Abrahamsen
2014-10-27 15:03 ` Ted Zlatanov
2014-10-27 19:15   ` Eric Abrahamsen
2014-10-28 18:04     ` Eric Abrahamsen
2014-11-07 23:56       ` Eric Abrahamsen
2014-11-08  0:01         ` Eric Abrahamsen
2014-11-08  8:39           ` Eric Abrahamsen
2014-11-10 13:54             ` Ted Zlatanov [this message]
2014-11-11  2:55               ` Eric Abrahamsen
2014-11-13 12:05               ` Eric Abrahamsen
2014-11-16  1:04                 ` Dan Christensen
2014-11-16  3:24                   ` Eric Abrahamsen
2014-12-18 10:07                 ` Ted Zlatanov
2014-12-18 15:00                   ` Eric Abrahamsen
2014-12-18 15:09                     ` Eric Abrahamsen
2014-12-19  0:44                       ` Katsumi Yamaoka
2014-12-19  2:08                         ` Eric Abrahamsen
2014-12-20  3:09                         ` Ted Zlatanov
2014-12-20 11:22                           ` Katsumi Yamaoka
2014-12-20 13:53                             ` Older Emacsen (was: [PATCH] Two issues with the gnus-registry) Ted Zlatanov
2014-12-19  1:30                       ` [PATCH] Two issues with the gnus-registry Ted Zlatanov
2014-10-28 20:10     ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bnoff9fq.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).