- Joined
- Jan 7, 2005
- Messages
- 7,550
Hello there.
I've been tinkering with structs for the past few months and have ran across a doubt: which one will take more memory: 4 reals or 1 rect? The reals are the rect's minX,minY,maxX,maxY.
Using a rect also makes the create function shorter, but I will only create a fix number of these structs and they'll last for the entire game.
Thank you in advance!
I've been tinkering with structs for the past few months and have ran across a doubt: which one will take more memory: 4 reals or 1 rect? The reals are the rect's minX,minY,maxX,maxY.
JASS:
real minx
real miny
real maxx
real maxy
Thank you in advance!