specter

Latest version: 1.1.3
2020-06-12T00:54:51.064900Z

I have a working solution if you’re interested,

2020-06-12T00:55:48.066600Z

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

2020-06-12T00:56:32.067700Z

I can post a gist maybe tomorrow

fmn 2020-06-12T02:23:52.068800Z

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.

nathanmarz 2020-06-12T16:15:41.069300Z

@funyako.funyao156 select-first will terminate navigation early if relevant

nathanmarz 2020-06-12T16:16:04.069800Z

e.g. (select-first [ALL even?] data) will be faster than (select-one [ALL even?] data)