I have a working solution if you’re interested,
It was more involved than I thought, but not so bad. Had to extend IKVReduce for Java.util.HashMaps and the map-vals spectre protocols, but all in all it’s pretty succinct code
I can post a gist maybe tomorrow
Is there any performance benefit of using select-first
over select-one
? My use case is to select the first one matching the path without considering if there's any duplicate in the collection.
@funyako.funyao156 select-first will terminate navigation early if relevant
e.g. (select-first [ALL even?] data)
will be faster than (select-one [ALL even?] data)