From 390f00063c85f7b510d86aa8a1ba20cd6555b475 Mon Sep 17 00:00:00 2001 From: Nathan Marz Date: Mon, 7 Nov 2016 07:47:56 -0500 Subject: [PATCH] add benchmark case for multi-arity keypath --- scripts/benchmarks.clj | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/benchmarks.clj b/scripts/benchmarks.clj index 0709b63..e17c90d 100644 --- a/scripts/benchmarks.clj +++ b/scripts/benchmarks.clj @@ -72,6 +72,7 @@ p (comp-paths :a :b :c)] (run-benchmark "get value in nested map" 2500000 (select-any [:a :b :c] data) + (select-any (keypath :a :b :c) data) (select-one [:a :b :c] data) (select-first [:a :b :c] data) (select-one! [:a :b :c] data)