This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-01-16
Channels
- # beginners (115)
- # boot (13)
- # boot-dev (13)
- # chestnut (1)
- # cider (1)
- # clara (10)
- # cljs-dev (21)
- # cljsjs (1)
- # cljsrn (2)
- # clojure (120)
- # clojure-dusseldorf (2)
- # clojure-greece (13)
- # clojure-ireland (1)
- # clojure-italy (3)
- # clojure-nlp (3)
- # clojure-russia (2)
- # clojure-spec (13)
- # clojure-uk (82)
- # clojured (5)
- # clojurescript (47)
- # core-async (2)
- # core-logic (8)
- # cursive (45)
- # datomic (2)
- # editors (1)
- # emacs (39)
- # fulcro (166)
- # graphql (1)
- # hoplon (16)
- # keechma (5)
- # off-topic (202)
- # perun (4)
- # protorepl (7)
- # re-frame (28)
- # reagent (13)
- # ring (27)
- # ring-swagger (16)
- # rum (1)
- # shadow-cljs (25)
- # spacemacs (20)
- # sql (141)
- # yada (4)
@dnolen CLJS-2472 won't do a lot to the average CLJS user unless we also implement: 1. Custom Iterator for ChunkedCons/ChunkedSeq (probably easy). 2. A change to SeqIter
that "escapes" to a fast iterator when the next
is IIterable
(same approach as my new seq-reduce
that escapes to chunked sequences). I have a prototype for 2:
(consume-iter (iter (cons 0 (range 3000)))) ;; 300ms, NEVER escapes first/next due to Cons
(consume-iter (my-new-smart-seq-iter (cons 0 (range 3000))) ;; 24ms, escapes after one next call.
So over 10x faster. Impl is very easy.guys, can you please review this patch https://dev.clojure.org/jira/browse/CLJS-2344
ClojureScript requires Java 8 now, right? (Owing to a requirement by Closure Compiler.) The first paragraph of Quick Start might be out-of-date with respect to this in indicating that only Java 7 is required. (Or, perhaps Java 8 is only required if you actually end up using Closure via some code path?)
Closure classes are imported by cljs.closure
always, so I'd think Java 8 is required always
Have you folks ever noticed the following errors:
Compiling out/cljs/tools/reader/edn.cljs
WARNING: cljs.core$macros/bit-or, all arguments must be numbers, got [string number] instead. at line 117
WARNING: cljs.core$macros/bit-or, all arguments must be numbers, got [string number] instead. at line 117
WARNING: cljs.core$macros/bit-or, all arguments must be numbers, got [string number] instead. at line 118
WARNING: cljs.core$macros/bit-or, all arguments must be numbers, got [string number] instead. at line 118
scratch the above, it does not come from ClojureScript code base
ok cool I will try to investigate more, thanks David
It does not seem to affect ClojureScript (I bumped tools.reader
locally) reported here: https://github.com/anmonteiro/lumo/issues/341