#Performance of big inmutable values
1 messages · Page 1 of 1 (latest)
What kind of operations are you doing on those dicts?
For now, setting and getting values, nothing special
Because updates, insertions etc are implemented efficiently and do not require copying the whole data structure each time
Okay thank you!
Talking about performance, I wonder if there are any profiling libraries that I could use. Searching through packages.gleam.run I found nothing 🤔
Immutable doesn’t mean the values are copied
It uses structural sharing to avoid copying
This is often faster than mutable data structures in practice
I'm manipulating dict a lot with my CSS things, and it's so fast
For profiling, would you normally profile the generated Erlang or JavaScript code with the profilers from those languages ?