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: 22a754c091f7
Choose a base ref
...
head repository: NixOS/nix
compare: 75db069f927f
Choose a head ref
  • 3 commits
  • 5 files changed
  • 1 contributor

Commits on Mar 4, 2020

  1. Add test for foldl'

    edolstra committed Mar 4, 2020
    Copy the full SHA
    d700eec View commit details
    Browse the repository at this point in the history
  2. builtins.cache: Cache regular expressions

    The evaluator was spending about 1% of its time compiling a small
    number of regexes over and over again.
    edolstra committed Mar 4, 2020
    Copy the full SHA
    401b5bc View commit details
    Browse the repository at this point in the history
  3. Optimise Derivation::unparse()

    In
    
      nix-instantiate --dry-run '<nixpkgs/nixos/release-combined.nix>' -A nixos.tests.simple.x86_64-linux
    
    this reduces time spent in unparse() from 9.15% to 4.31%. The main
    culprit was appending characters one at a time to the destination
    string. Even though the string has enough capacity, push_back() still
    needs to check this on every call.
    edolstra committed Mar 4, 2020
    Copy the full SHA
    75db069 View commit details
    Browse the repository at this point in the history