Freeze javascript tuples on creation #4797
BradBot1
started this conversation in
Ideas & suggestions
Replies: 1 comment 3 replies
-
Are there performance implications to this? If it improves performance that would be a good motivator for us to do this. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Since gleam's (and erlangs) tuples are immutable utilising
Object.freeze()
on any tuple declaration would enforce the same expected immutability on JavaScriptBeta Was this translation helpful? Give feedback.
All reactions