https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
e

eygraber

06/03/2022, 1:59 PM
Is Stately still the best option for a common
CopyOnWriteArrayList
?
k

kpgalligan

06/03/2022, 11:56 PM
New memory model or old? I started thinking through adding collections designed for the new memory model, but haven't landed on anything final yet
e

eygraber

06/06/2022, 6:37 PM
New memory model
k

kpgalligan

06/06/2022, 6:41 PM
I think it’s a reasonable solution still, although you’ll probably want to disable freezing globally as the native side will still try to freeze data. I can imagine an implementation designed for the new memory model would be better, but the current stately one should be serviceable assuming the performance constraints aren’t extreme
🙏 1