diff options
| author | adisbladis <adisbladis@gmail.com> | 2023-11-27 01:42:32 +1300 |
|---|---|---|
| committer | adisbladis <adisbladis@gmail.com> | 2023-11-27 11:37:57 +1300 |
| commit | 544a1d375b47de09d6610c2059588032a9d8c192 (patch) | |
| tree | dd339d12766237fedc328042a0b8a4a2164d8841 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 7e07b3ecd55ac85675c26d9b09fab9996c410681 (diff) | |
lib.attrsets.attrByPath: Don't allocate one extra list per lookup recursion
Using `tail` in a recursive loop like this needlessly allocates.
This changes the loop to look up by list index instead.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
