Rewrite E2 Arrays #2872
Denneisk
started this conversation in
Suggestions
Replies: 1 comment
-
This isn't gonna happen. Ship has long sailed since arrays could be changed. Doing this would just severely complicate things. In the future a statically typed array should exist, not this which is just another table. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Make arrays more like E2 tables because I'm sick of them.
class E2Array
[integer] any
- Sequential Datastring? Type
- Restricted type or nilinteger? SizeL
- Size limitstring[]? TypeIds
- Defined as the array of typeids ifType
is undefinedAnd then copy the getters/setters in #2817
Arrays don't use string indices so using those shouldn't change anything.
SizeL
is for future consideration (Type
can still be used as an optimization trick).Biggest issue may be serializing, especially deserializing from old arrays. Need to see how von handles this.
Not even suggesting this for arrays/tables inside arrays, just want them to be easier to use.
Beta Was this translation helpful? Give feedback.
All reactions