I figured out what I wanted. Thanks for your answer Mike, sorry to bother you though.[...]
Even null-terminated be sure to profile your loop, for isn't garanteed to be faster than foreach at all and foreach is definitely safer.
cym13 via Digitalmars-d-learn Wed, 02 Mar 2016 12:24:17 -0800
I figured out what I wanted. Thanks for your answer Mike, sorry to bother you though.[...]
Even null-terminated be sure to profile your loop, for isn't garanteed to be faster than foreach at all and foreach is definitely safer.