Re: What's the fastest way to check if a slice points to static data
ketmar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Jun 24 07:20:08 PDT 2017
p.s.: btw, druntime tries to avoid that edge case by not checking for
trailing out-of-bounds zero if string ends exactly on dword boundary. it
will miss some strings this way, but otherwise it is perfectly safe.
More information about the Digitalmars-d-learn
mailing list