derivations: Inline 'find' in 'coalesce-duplicate-inputs'.
authorLudovic Courtès <ludo@gnu.org>
Thu, 23 Jan 2020 21:35:43 +0000 (22:35 +0100)
committerLudovic Courtès <ludo@gnu.org>
Thu, 23 Jan 2020 22:34:10 +0000 (23:34 +0100)
commit370891d5655a92eda596df5a03abed53511df386
tree88185674974487b8beb1751d9e02d68259a56c3a
parent4d52e0f66791250deae4890ac12a4789b1290a88
derivations: Inline 'find' in 'coalesce-duplicate-inputs'.

Previously the first argument to 'find' would show up high in profiles
of 'package-derivation'.  This speeds things up a big, especially on
Guile 3.

* guix/derivations.scm (coalesce-duplicate-inputs)[find]: New
procedure.
guix/derivations.scm