1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-27 19:46:40 +03:00
nixpkgs/nixos/modules/services/networking/strongswan-swanctl
ccicnce113424 4551258940 lib: refactor lib.attrsets.{mapAttrs', mapAttrsToList} and mapAttrs'' in the strongswan-swanctl module
The new implementation of `mapAttrsToList` is simpler than the previous one, avoiding an extra string conversion. Benchmarking shows a slight performance improvement. See the discussion here: https://discourse.nixos.org/t/another-implementation-of-mapattrstolist

Additionally, I searched nixpkgs for expressions equivalent to the old `mapAttrsToList` and replaced them with direct calls to the new implementation.
2025-05-08 13:58:54 +08:00
..
module.nix treewide: Format all Nix files 2025-04-01 20:10:43 +02:00
param-constructors.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
param-lib.nix lib: refactor lib.attrsets.{mapAttrs', mapAttrsToList} and mapAttrs'' in the strongswan-swanctl module 2025-05-08 13:58:54 +08:00
swanctl-params.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00