>>105998283
>>105998293
>its not much faster
that's to be expected considering there isn't much going on in the simulation to make the performance different highly significant.
Slices are cool. I always rely on them when parsing. Under the hood, its just a pointer and length.
https://github.com/odin-lang/Odin/blob/master/base/runtime/core.odin#L400
Its very convenient to snatch a chunk from an array and pass it around like without any hassle while the language implicitly takes care of bounds checking for you. A good QoL improvement over C's array/pointer shit.