[Exherbo-dev] Replacing categories take 27 zillion

Ciaran McCreesh ciaran.mccreesh at googlemail.com
Mon Feb 16 13:21:55 GMT 2009

On Mon, 16 Feb 2009 02:23:50 -0500
Erik Osheim <erik at plastic-idolatry.com> wrote:
> On Sun, Feb 15, 2009 at 09:56:29PM +0000, Ciaran McCreesh wrote:
> > Because then, depending upon what you mean by 'first 50', either
> > Paludis has to hunt around in every single directory to find
> > something, or if you add a new package called, say, xaa, you have
> > to move a bunch of other packages because you've changed what the
> > first 50 is.
> Instead of using the first two characters or last two characters would
> you want to use the first two letters of a hash key? That would
> probably spread out packages pretty well, and would work no matter
> what future naming schemes people come up with.

sha1 mod 36 in base 36 works perfectly for every case, but it's a
nuisance for humans, so we're trying to avoid that.

Ciaran McCreesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.exherbo.org/pipermail/exherbo-dev/attachments/20090216/2afcfe71/attachment.pgp>

More information about the Exherbo-dev mailing list