Search Results
!!b2oSUmilA2N/g/105992556#105998900
7/23/2025, 3:54:53 PM
>>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.
>>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.
7/14/2025, 10:51:45 AM
Page 1