diff options
author | Yorick van Pelt <yorick@yorickvanpelt.nl> | 2021-12-27 13:18:55 +0100 |
---|---|---|
committer | Yorick van Pelt <yorick@yorickvanpelt.nl> | 2021-12-27 13:18:55 +0100 |
commit | a4ab0a74d97c7c31df69f04870fa56cde89701a3 (patch) | |
tree | 5ead59578dee00cde7b503a31d537757546c0511 /perl/MANIFEST | |
parent | af553b20902b8b8efbccab5f880879b09e95eb32 (diff) |
Fix accidental O(n^2 * log n) performance in NixRepl::addAttrsToScope
Only sort once, after adding all of the attrs first. This reduces my
`nix repl '<nixpkgs>'` loading time from 1.07s to 103ms.
Fixes #5823
Diffstat (limited to 'perl/MANIFEST')
0 files changed, 0 insertions, 0 deletions