mirror of https://github.com/perkeep/perkeep.git
93c6d682d2
Avoid select overhead in hot paths. Just use funcs. Also, for sort-by-map searches, don't do a describe and pass over all the results doing location lookups a second time. Remember the location from the initial matching. Cache it on the search value. Reduces some sort-by-map searches from 10 seconds to 3 seconds for me. (still too slow, but good start) Change-Id: I632954738df9accd802f28364ed11e48ddba0d14 |
||
---|---|---|
.. | ||
index_test.go |