Browse files

don't call `sorted-map` at runtime, this dead code eliminates all the

sorted map related code if never used.
  • Loading branch information...
1 parent e706055 commit 4fbbfe6fa2c2246a9f9026e6f29148ce5d6bed05 @swannodette swannodette committed Apr 27, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/cljs/cljs/core.cljs
@@ -5868,7 +5868,8 @@ reduces them without incurring seq initialization"
(-invoke [coll k not-found]
(-lookup coll k not-found)))
-(set! cljs.core.PersistentTreeSet/EMPTY (PersistentTreeSet. nil (sorted-map) 0))
+(set! cljs.core.PersistentTreeSet/EMPTY
+ (PersistentTreeSet. nil cljs.core.PersistentTreeMap/EMPTY 0))
(defn hash-set
([] cljs.core.PersistentHashSet/EMPTY)

0 comments on commit 4fbbfe6

Please sign in to comment.