On Thu, Apr 08, 2004 at 05:57:31AM -0400, Michael B Allen wrote:
> And it's still a little slow and it makes for ugly code. It makes me wince
> to have to scan for the terminator when I know it could be done much much
> cleaner in the conversion routine.

Personally, I consider this a flaw in the concept of nul-terminated strings.
strlen() being O(n) is just silly.  As I code mostly in C++ these days,
I use std::string or derivatives, which avoids that.  YMMV, of course.

-- 
Glenn Maynard

--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to