On 5/15/12, Gor Gyolchanyan <gor.f.gyolchan...@gmail.com> wrote: > No, no and no. toUTFz could be called at compile-time. Absolutely no extra > run-time allocations, absolutely no run-time overhead.
How about programmer-time overhead? Are *you* volunteering to edit all the codebases out there that rely on having 0-terminated string literals?