cvs commit: src/lib/libc/locale utf8.c
Tim J. Robbins
tjr at FreeBSD.org
Mon May 17 05:32:40 PDT 2004
tjr 2004/05/17 05:32:40 PDT
FreeBSD src repository
Modified files:
lib/libc/locale utf8.c
Log:
Use conversion state objects to store the accumulated wide character,
low bound, and the number of bytes remaining instead of storing the
raw byte sequence and deriving them every time mbrtowc() is called.
This is much faster -- about twice as fast in some crude benchmarks.
Revision Changes Path
1.9 +67 -63 src/lib/libc/locale/utf8.c
More information about the cvs-src
mailing list