summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2025-01-27 22:44:51 +0100
committerSilvan Mosberger <silvan.mosberger@tweag.io>2025-01-28 17:05:11 +0100
commit80e011146bf92416ce58ffd62c191875f566810c (patch)
treeb93413d80ea66423c9097b11277ed9fcae99e58d /pkgs/development/python-modules/rangehttpserver
parent0fe2e3f0e3d89f4412940ebff28afea7dfd08390 (diff)
ci/eval/compare: Improve performance and avoid large stacks
Various improvements such as: 1. Avoiding deduplications when there can't be any duplicates 2. Avoiding O(n^2) deduplications 3. Using builtins.any to avoid list allocations 4. Using builtins.concatMap instead of lib.flatten when it's known that there's only one level of nesting 5. Using builtins.groupBy instead of folding with an accumulator In particular 5. should fix CI exceeding the stack size on staging: https://github.com/NixOS/nixpkgs/actions/runs/12989244871/job/36240781244?pr=377253 While 2. in particular should make CI a lot faster.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions