Memory efficiency with array trickery/ simulations - page 4

 
nadiawicket:

"you won't go down a rabbit-hole of "XY"."

Why XY if not a waste of time for me? 

"I understand that you are attempting a micro-optimization for replacing a multi-dimensional array with some sort of string array so you can conceptually glue together an object."

I was trying many things, among them, strings,ushort.doubles,typecasting,etc; however, this was way before solving issue by confirming through research and experimentation that Im luckily not really really going to benefit from anything non basic

"I do recommend that at some point you stop and learn a language "

What exactly should I learn?

"some common patterns"


What you need is an array or dynamic collection of structs or objects. In order to understand how it works you should look up a CPP OOP tutorial.