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/nixpkgs
base: 9480bae33709
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: b2532174e084
Choose a head ref
  • 3 commits
  • 1 file changed
  • 2 contributors

Commits on Jun 17, 2020

  1. fish: replace use of tr with string split

    This shaves about 4ms off fish start time.
    
    Before (profiled with 'fish --profile prof.txt -c fish_prompt'):
    
    225	4636	----> set -l __nix_profile_paths (echo $NIX_PROFILES | /nix/store/m5ajgnzp2512na31brwfmydwk3l1gawb-coreutils-8.31/bin/tr ' ' '\n')[-1..1]
    4411	4411	-----> echo $NIX_PROFILES | /nix/store/m5ajgnzp2512na31brwfmydwk3l1gawb-coreutils-8.31/bin/tr ' ' '\n'
    
    After:
    
    190	248	----> set -l __nix_profile_paths (string split ' ' $NIX_PROFILES)[-1..1]
    bouk committed Jun 17, 2020
    Copy the full SHA
    9daa183 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    84e25cf View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2020

  1. Merge pull request #90670 from bouk/fish-no-tr

    fish: replace use of tr with string split
    rnhmjoj committed Jun 18, 2020
    Copy the full SHA
    b253217 View commit details
    Browse the repository at this point in the history