@philiptaron's lix workspace
Find a file
Eelco Dolstra b9e5b908ed Provide an efficient implementation of ‘elem’
The one in Nixpkgs is O(n^2), this one is O(n).  Big reduction in the
number of list allocations.

Statistics before (on a NixOS system config):

  time elapsed: 1.17982
  size of a value: 24
  environments allocated: 1543334 (39624560 bytes)
  list elements: 9612638 (76901104 bytes)
  list concatenations: 37434
  values allocated: 1854933 (44518392 bytes)
  attribute sets allocated: 392040
  right-biased unions: 186334
  values copied in right-biased unions: 591137
  symbols in symbol table: 18272
  number of thunks: 1392467
  number of thunks avoided: 1507311
  number of attr lookups: 430801
  number of primop calls: 691600
  number of function calls: 1492502

Statistics after:

  time elapsed: 1.08683
  size of a value: 24
  environments allocated: 1384376 (35809568 bytes)
  list elements: 6946783 (55574264 bytes)
  list concatenations: 37434
  values allocated: 1760440 (42250560 bytes)
  attribute sets allocated: 392040
  right-biased unions: 186334
  values copied in right-biased unions: 591137
  symbols in symbol table: 18273
  number of thunks: 1297673
  number of thunks avoided: 1380759
  number of attr lookups: 430802
  number of primop calls: 628912
  number of function calls: 1333544
2012-08-13 01:05:35 -04:00
corepkgs import: If the path is a valid .drv file, parse it and generate a derivation attrset. 2012-07-25 09:30:17 -04:00
doc Manual: Remove reference to non-existent -I option 2012-07-30 22:29:42 -04:00
misc fixes to nix-worker systemd service descriptor: - remove commented-out lines - register the file for distribution in Makefile.am 2012-05-31 08:59:36 -04:00
perl Add function queryPathFromHashPart() 2012-07-17 18:55:39 -04:00
scripts nix-profile.sh: Don't set NIX_REMOTE on single user installations 2012-07-25 17:06:09 -04:00
src Provide an efficient implementation of ‘elem’ 2012-08-13 01:05:35 -04:00
tests Add a test for Nix store optimisation 2012-07-23 17:40:23 -04:00
.gitignore Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
AUTHORS * Put something in here. 2004-11-07 20:30:02 +00:00
bootstrap.sh bootstrap: Simplify & make more robust. 2011-09-06 12:11:05 +00:00
build.nix Add an experimental nix-make file 2012-05-21 09:43:01 -04:00
configure.ac Handle platforms that don't support linking to a symlink 2012-07-23 18:42:18 -04:00
COPYING * Change this to LGPL to keep the government happy. 2006-04-25 16:41:06 +00:00
INSTALL * Autoconf / Automake configuration and building. 2003-04-04 16:14:56 +00:00
Makefile.am Get rid of nix.conf.example 2012-07-09 11:56:55 -04:00
nix.spec.in Really fix RPM builds 2012-07-09 13:16:09 -04:00
README * Install documentation in $(docdir) (i.e. share/doc/nix). 2008-11-19 13:19:09 +00:00
release.nix Turn tests back on 2012-07-25 09:30:17 -04:00
substitute.mk Support building with the Perl XS bindings disabled 2012-05-10 19:03:23 -04:00
version Bump version 2012-07-18 17:17:23 -04:00

Nix is a purely functional package manager.  For installation and
usage instructions, please read the manual, which can be found in
`docs/manual/manual.html', and additionally at the Nix website at
<http://nixos.org/>.


Acknowledgments

This product includes software developed by the OpenSSL Project for
use in the OpenSSL Toolkit (http://www.OpenSSL.org/).