Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2004 05:32:40 -0700 (PDT)
From:      "Tim J. Robbins" <tjr@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/locale utf8.c
Message-ID:  <200405171232.i4HCWeCk044395@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405171232.i4HCWeCk044395>