Oct 2, 2013
Index of all namespaces
Reimplementation of clojure.walk
A reimplementation of the
FORKED BY CARIBOU IN ORDER TO USE IT IN PROJECTS – hopefully this will become the new walk and this will no longer be necessary.
Submitted as an enhancement to Clojure in CLJ-1239.
This repo is for demonstration only. All further development/discussion should happen on Clojure’s JIRA and mailing list.
Differences from the original
Protocol-based dispatch for better performance
Support for records
Releases and Dependency Information
No binary releases.
lein install in this directory, then use this dependency in a Leiningen project:
(require '[clojure.walk2 :as walk])
The public API is identical to that of
In this directory, run
lein test. The test suite is the same as that for
clojure.walk, with some added tests for records.
In this directory, start a repl with
lein repl and then:
(require 'bench) (bench/bench 5)
Pass different numbers to
bench/bench to run the test with different random seeds. Call
bench/data with the same random seed to see the test data.
In my tests,
clojure.walk2 is about 2 times faster than
Copyright © 2013 Stuart Sierra. All rights reserved.
The use and distribution terms for this software are covered by the Eclipse Public License 1.0 which can be found in the file epl-v10.html at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software.