This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-03-13
Channels
- # announcements (14)
- # babashka (13)
- # beginners (25)
- # biff (7)
- # calva (36)
- # clj-kondo (22)
- # clojure (31)
- # clojure-austin (1)
- # clojure-europe (12)
- # clojure-losangeles (4)
- # clojure-nl (1)
- # clojure-norway (61)
- # clojure-uk (4)
- # clojurescript (3)
- # datomic (24)
- # events (1)
- # humbleui (9)
- # leiningen (9)
- # lsp (30)
- # malli (3)
- # missionary (15)
- # off-topic (5)
- # re-frame (4)
- # reitit (7)
- # releases (2)
- # remote-jobs (4)
- # rewrite-clj (11)
- # ring-swagger (2)
- # sci (6)
- # xtdb (2)
- # yamlscript (3)
Hi, I saw the https://github.com/day8/re-frame/issues/644. And I was wondering did you consider the performance efficiency of vectors vs maps?
IMO this is not a point worth considering at all. If your app fires so many events that just passing arguments via a map becomes a performance consideration, you have a much, much bigger problem.
Do you have an intuition for where performance might suffer? Also, there's https://github.com/day8/re-frame/blob/master/src/re_frame/query/alpha.cljc, which demonstrates subscription queries as maps. A working prototype for event-queries as maps might be relatively easy to put together, based on the designs already in place.