On Sat, Mar 05, 2011 at 07:07:20PM -0800, Jeremy Chadwick wrote:
...
> $ unset LANG
>   - Result: still 80x slower with -i
> $ unset LANG LC_COLLATE
>   - Result: still 80x slower with -i
> $ unset LANG LC_CTYPE
>   - Result: normal/fast.
> $ unset LC_CTYPE
>   - Result: still 80x slower with -i
> $ unset LC_CTYPE LC_COLLATE
>   - Result: still 80x slower with -i
> $ unset LC_COLLATE
>   - Result: still 80x slower with -i
> 
> So the LANG + LC_CTYPE combo when used together are what cause this.

  Doesn't the above say that having either one set does it?

  I would guess it's probably that either one requires the 8.x
grep -i to make a conversion function call for each char (or perhaps
line) of input to ensure the proper upper/lower case conversion rules
are followed.
  -- Clifton

-- 
    Clifton Royston  --  clift...@iandicomputing.com / clift...@lava.net
       President  - I and I Computing * http://www.iandicomputing.com/
 Custom programming, network design, systems and network consulting services
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to