Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 May 2004 06:04:49 -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 runetype.c tolower.c toupper.c
Message-ID:  <200405091304.i49D4nKq029778@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
tjr         2004/05/09 06:04:49 PDT

  FreeBSD src repository

  Modified files:
    lib/libc/locale      runetype.c tolower.c toupper.c 
  Log:
  Use a binary search to find the range containing a character in
  RuneRange arrays. This is much faster when there are hundreds of
  ranges (as is the case in UTF-8 locales) and was inspired by a
  similar change made by Apple in Darwin.
  
  Revision  Changes    Path
  1.9       +10 -6     src/lib/libc/locale/runetype.c
  1.9       +12 -7     src/lib/libc/locale/tolower.c
  1.9       +12 -7     src/lib/libc/locale/toupper.c



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