[Exherbo-dev] Disambiguation Proposal

Michael Croes mycroes at gmail.com
Sun Jun 1 13:01:40 BST 2008


> > Here my proposal on handling disambiguation of package names.
> > 
> > Each package name shall have exactly one directory beneath packages/.
> 
> There's one issue with that: readdir is frickin' slow.

Another database might be able to 'fix' that.

> > If there are two packages with the same name, say git from kernel.org
> > and git from GNU, then create a directory 'packages/git' and in there 
> > create 2 subdirectories. Each subdirectory uses one of the
> > disambiguation names 'kernel.org' and 'gnu'.
> 
> Two issues: readdir recursively is even slower.

Is that also true in the case of:

packages/a/abc
packages/a/aac
packages/l/linux-headers

It does divide the list a bit.
Regards,

Michael Croes




More information about the Exherbo-dev mailing list