From 8231cd654f5fe619aa848ff5f2278feb6f833b56 Mon Sep 17 00:00:00 2001 From: Nathan Marz Date: Wed, 8 Jun 2016 06:11:21 -0400 Subject: [PATCH] benchmark keypath alongside direct keyword navigation --- scripts/benchmarks.clj | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/benchmarks.clj b/scripts/benchmarks.clj index fafbbd1..52b527f 100644 --- a/scripts/benchmarks.clj +++ b/scripts/benchmarks.clj @@ -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) )