[Nix-dev] Re: Performance impact of Nix

Ludovic Courtès ludo at gnu.org
Thu Jul 30 10:14:08 CEST 2009


Hi,

Tony White <tonywhite100 at googlemail.com>
writes:

> I think that if the package name came before the hash in the folder
> name for each package in the nix store, we would experience faster
> search results.

I don't think so, precisely because cryptographic hashes are designed to
"spread" well over their output domain.

In my crowded Nix store, a prefix of 3 or 4 characters is enough to
discriminate a specific directory.

Thanks,
Ludo'.




More information about the nix-dev mailing list