This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix other comments; re-word tiered bit.

  • Loading branch information...
technomancy committed Mar 30, 2013
1 parent 8bcd895 commit d6961e520c628291c10fcbf24d01a731b0ef4bcf
Showing with 6 additions and 5 deletions.
  1. +1 −1 resources/commentary/2013/68915499479ff98919ddad1c635b8b
  2. +5 −4 src/lein_survey/results.clj
@@ -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>.
@@ -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?"))))

0 comments on commit d6961e5

Please sign in to comment.