From d1e94596041492038f321885bf77e16d9a0a7589 Mon Sep 17 00:00:00 2001 From: Stuart Sierra Date: Fri, 5 Jun 2009 20:58:44 +0000 Subject: str_utils2.clj: fix some comments --- src/clojure/contrib/str_utils2.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/clojure') diff --git a/src/clojure/contrib/str_utils2.clj b/src/clojure/contrib/str_utils2.clj index 988d6a6d..40765dfc 100644 --- a/src/clojure/contrib/str_utils2.clj +++ b/src/clojure/contrib/str_utils2.clj @@ -43,6 +43,7 @@ [bindings & body] (assert (vector bindings)) (assert (= 2 (count bindings))) + ;; This seems to be the fastest way to iterate over characters. `(let [#^String s# ~(second bindings)] (dotimes [i# (.length s#)] (let [~(first bindings) (.charAt s# i#)] @@ -58,7 +59,6 @@ [bindings & body] (assert (vector bindings)) (assert (= 2 (count bindings))) - ;; This seems to be the fastest way to iterate over characters. (let [character (first bindings) string (second bindings)] `(let [#^String s# ~string -- cgit v1.2.3-18-g5258