benchmark keypath alongside direct keyword navigation
This commit is contained in:
parent
4cdc7a47a3
commit
8231cd654f
1 changed files with 1 additions and 0 deletions
|
|
@ -55,6 +55,7 @@
|
|||
(run-benchmark "get value in nested map" 10000000
|
||||
(get-in data [:a :b :c])
|
||||
(select [:a :b :c] data)
|
||||
(select [(keypath :a) (keypath :b) (keypath :c)] data)
|
||||
(compiled-select p data)
|
||||
(-> data :a :b :c vector)
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue