CLOVIS
08/10/2026, 3:29 PMVampire
08/10/2026, 3:31 PMCLOVIS
08/10/2026, 3:35 PMMarat Akhin
08/10/2026, 3:54 PMintern 'd pool handles the strings via a WeakReference-like handle, which means -- once it's not strongly reachable -- it can be GC'd.Marat Akhin
08/10/2026, 3:56 PMMarat Akhin
08/10/2026, 3:57 PMCLOVIS
08/10/2026, 3:58 PMMarat Akhin
08/10/2026, 3:58 PMall platforms part of the question, I have no idea from the top of my head, this also needs more digging in.Marat Akhin
08/10/2026, 5:16 PMCLOVIS
08/10/2026, 7:11 PMJSONPath expressions. I have reasons to expect that users will create tons of those, and will create them inline (at usage site) instead of memoising them. I'm considering adding an automatic cache, but since they will almost always be in the constant pool I was wondering whether a WeakMap would make sense at all in this situation.CLOVIS
08/10/2026, 7:11 PMMarat Akhin
08/10/2026, 8:20 PM