This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-30
Channels
- # aleph (1)
- # announcements (7)
- # aws (4)
- # beginners (52)
- # calva (11)
- # cider (20)
- # clj-kondo (36)
- # clojure (53)
- # clojure-austin (1)
- # clojure-brasil (1)
- # clojure-conj (1)
- # clojure-europe (27)
- # clojure-italy (17)
- # clojure-nl (11)
- # clojure-norway (2)
- # clojure-spec (41)
- # clojure-uk (39)
- # clojuredesign-podcast (2)
- # clojurescript (22)
- # clojutre (14)
- # community-development (24)
- # cursive (6)
- # data-science (1)
- # datomic (38)
- # duct (3)
- # figwheel-main (8)
- # fulcro (34)
- # funcool (8)
- # jackdaw (3)
- # jobs (2)
- # off-topic (84)
- # pathom (3)
- # re-frame (4)
- # shadow-cljs (8)
- # tools-deps (5)
- # vim (7)
Finally got around to solving a 2 year old bug in a project from the early days of my Clojure learning journey https://betweentwoparens.com/students-of-the-game-reloadable-code
First release of clope
, a byte rope implementation for clojure and clojurescript.
https://github.com/leonoel/clope
i have some cljs code where i store about 2 MB in a Uint8Array. i update some values in the byte array (no shortening or lengthening it) and then return it. is clope up my alley?
@UN0TDQ30T maybe, depending on your use case and performance requirements. the right way to update a portion of an immutable rope is to extract a subrope of the portion you want to update, copy it to a new buffer, mutate the buffer, wrap it in a new rope and finally join it with the unmodified subropes before and after. All these operations should be reasonably fast.
mutate the underlying array in-place is at best hackish as it will break internal hashcode caching
Version 0.1.0 of the core.rrb-vector library has been released, with fixes for several bugs found in earlier releases. https://github.com/clojure/core.rrb-vector . Change log: https://github.com/clojure/core.rrb-vector/blob/master/CHANGES.md