The map command currently uses seq-uniq to remove all duplicate keys in one
go from the result of map-pairs. Would it be faster to check each item as we
iterate during the loop, instead of doing it all at once?
It should be faster if we happen to exit the loop early.
The
map
command currently usesseq-uniq
to remove all duplicate keys in one go from the result ofmap-pairs
. Would it be faster to check each item as we iterate during the loop, instead of doing it all at once?