This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-05-09
Channels
- # announcements (23)
- # babashka (7)
- # beginners (69)
- # biff (5)
- # calva (12)
- # cider (10)
- # cljfx (9)
- # clojure (60)
- # clojure-austin (1)
- # clojure-europe (14)
- # clojure-korea (2)
- # clojure-losangeles (2)
- # clojure-madison (1)
- # clojure-nl (1)
- # clojure-norway (23)
- # clojure-uk (7)
- # clojuredesign-podcast (16)
- # clojurescript (40)
- # datomic (8)
- # gratitude (4)
- # mount (3)
- # nrepl (2)
- # off-topic (38)
- # pathom (3)
- # releases (1)
- # ring (8)
- # shadow-cljs (7)
are db.type/keywords more memory efficient for datomic indexes ? or i’m wondering if strings get interned too either at JVM level or otherwise . I think the value i want to represent in datomic is compliant with clojure keyword syntax , but only 95% certain about it and want some reason to justify that risk over using db.type/string
Because of fressian caching there’s little to no difference on-disk, and repeated runs of any value in a segment will likely (but not guaranteed) be the same object instance either way
👍 2
in-memory keywords are always interned (e.g. always a single instance for the same keyword)