summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-openstackclient
diff options
context:
space:
mode:
authorccicnce113424 <ccicnce113424@gmail.com>2025-05-08 13:58:54 +0800
committerccicnce113424 <ccicnce113424@gmail.com>2025-05-08 13:58:54 +0800
commit4551258940130a47370390d57a51387d9ce104f6 (patch)
tree55aa073895ebff86e42dbe53d62711cc07c5e24b /pkgs/development/python-modules/python-openstackclient
parenta5d4ca206b58f55c0dbb45f7dad6e71501b8f41d (diff)
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.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
0 files changed, 0 insertions, 0 deletions