- Joined
- Aug 7, 2013
- Messages
- 1,338
Hi,
I noticed there is a struct in Jass gen pack 5 to support OOP, but that its implementation is actually an array underneath?
It's possible (and I've seen before) people simply use arrays with names/comments to have object like representations, but this comes a readability cost (at least for me).
Will I lose performance if I use structs?
I noticed there is a struct in Jass gen pack 5 to support OOP, but that its implementation is actually an array underneath?
It's possible (and I've seen before) people simply use arrays with names/comments to have object like representations, but this comes a readability cost (at least for me).
Will I lose performance if I use structs?