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: 07808052461e
Choose a base ref
...
head repository: NixOS/nix
compare: fa125b9b28be
Choose a head ref
  • 7 commits
  • 10 files changed
  • 1 contributor

Commits on Mar 1, 2017

  1. Handle importing NARs containing files greater than 4 GiB

    Also templatize readInt() to work for various integer types.
    edolstra committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    c4a4094 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e321551 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    56e19d9 View commit details
    Browse the repository at this point in the history
  4. Tweak message

    edolstra committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    07a0b8c View commit details
    Browse the repository at this point in the history
  5. readString(): Read directly into std::string

    When reading a huge string, this halves memory consumption.
    
    (Strictly speaking, this appears only valid in C++17, but who cares...)
    edolstra committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    3749087 View commit details
    Browse the repository at this point in the history
  6. RemoteStore::addToStore(): Send NAR rather than string containing NAR

    This allows the NAR to be streamed in the future (though we're not
    doing that yet).
    edolstra committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    f61f67d View commit details
    Browse the repository at this point in the history
  7. TeeSink: Pre-reserve string space

    When receiving a very large file, this can prevent the string from
    having tobe copied, which temporarily doubles memory consumption.
    edolstra committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    fa125b9 View commit details
    Browse the repository at this point in the history