Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nix
base: c544f5e3f012
Choose a base ref
...
head repository: NixOS/nix
compare: b7e6b5de91d9
Choose a head ref
  • 2 commits
  • 10 files changed
  • 1 contributor

Commits on Mar 3, 2020

  1. Merge environments of nested functions

    Previously an expression like 'x: y: ...' would create two
    environments with one value. Now it creates one environment with two
    values. This reduces the number of allocations and the distance in the
    environment chain that variable lookups need to traverse.
    
    On
    
      $ nix-instantiate --dry-run '<nixpkgs/nixos/release-combined.nix>' -A nixos.tests.simple.x86_64-linux
    
    this gives a ~30% reduction in the number of Env allocations.
    edolstra committed Mar 3, 2020
    Copy the full SHA
    f1265ed View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    b7e6b5d View commit details
    Browse the repository at this point in the history