Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix other comments; re-word tiered bit.

  • Loading branch information...
commit d6961e520c628291c10fcbf24d01a731b0ef4bcf 1 parent 8bcd895
@technomancy authored
View
2  resources/commentary/2013/68915499479ff98919ddad1c635b8b
@@ -1 +1 @@
-This is a new question, motivated partly by wondering how common JVMs which predate <a href="http://weblogs.java.net/blog/forax/archive/2010/09/04/tiered-compilation">Tiered Compilation</a> are. Uptake of 1.7 is happening fairly rapidly, and the vast majority of 1.6 users have Tiered Compilation. This is great news since it gives Leiningen a pretty serious speed boost. Users on older JVMs will have to disable it manually by setting <code>LEIN_JVM_OPTS</code>.
+This is a new question, motivated partly by wondering how common JVMs which predate <a href="http://weblogs.java.net/blog/forax/archive/2010/09/04/tiered-compilation">tiered compilation tweaks</a> are. Uptake of 1.7 is happening fairly rapidly, and the vast majority of 1.6 users have the improved tiered compiler. This is great news since it gives Leiningen a pretty serious speed boost. Users on older JVMs will have to disable it manually by setting <code>LEIN_JVM_OPTS</code>.
View
9 src/lein_survey/results.clj
@@ -66,12 +66,13 @@
freqs choice results)]]))]
(commentary q)]))
+;;; summarizing plugins
;; (->> (mapcat #(.split % "[, ]+") p)
;; (map #(string/replace % "lein-" ""))
;; (map (memfn toLowerCase))
;; (frequencies)
-;; (reduce (fn [acc [f n]] (if (> n 1) (assoc acc f n) acc)) {})
-;; (sort-by val)
+;; (filter (comp pos? dec second))
+;; (sort-by second)
;; (reverse)
;; (rest)
;; (pprint))
@@ -231,6 +232,6 @@
(java.io.ByteArrayInputStream. (image-bytes id)))
(defn comments []
- (string/join "\n----------------"
- (for [{:keys [body]} (get-results)]
+ (string/join "\n----------------\n"
+ (for [body (get-results)]
(get body "Other comments?"))))
Please sign in to comment.
Something went wrong with that request. Please try again.