Re: [PATCH 1/4] magic pathspec: add tentative ":/path/from/top/level" pathspec support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/4/7 Junio C Hamano <gitster@xxxxxxxxx>:
> + Â Â Â Â Â Â Â Â Â Â Â if (('a' <= ch && ch <= 'z') ||
> + Â Â Â Â Â Â Â Â Â Â Â Â Â ('A' <= ch && ch <= 'Z')) {
> + Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â strbuf_addf(&sb, "[%c%c]",
> + Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â tolower(ch), toupper(ch));

Nice try. You know you are going to pay a high performance price for
that, don't you ;) Maybe also worth mentioning in document that this
applies to ASCII charset only (as opposed to Unicode).
-- 
Duy
ÿô.nlj·Ÿ®‰­†+%ŠË±é¥Šwÿº{.nlj· ŠßžØn‡r¡öë¨è&£ûz¹Þúzf£¢·hšˆ§~†­†Ûÿÿïÿ‘ê_èæ+v‰¨þ)ßø

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]