From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#16731: 24.3.50; Latin small letter sharp s is not considered lower-case Date: Thu, 13 Feb 2014 20:16:45 +0200 Message-ID: <8338jmev3m.fsf@gnu.org> References: <87wqh08cjw.fsf@loki.jorgenschaefer.de> <57txc4cj1x.fsf@fencepost.gnu.org> <52FBCC08.50509@easy-emacs.de> <83fvnoru0q.fsf@gnu.org> <52FBD551.2000808@easy-emacs.de> <83bnycrsrb.fsf@gnu.org> <52FBDA9B.102@easy-emacs.de> <83a9dvsmi9.fsf@gnu.org> <83y51fq8fy.fsf@gnu.org> <83r476rjyf.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1392315492 12871 80.91.229.3 (13 Feb 2014 18:18:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Feb 2014 18:18:12 +0000 (UTC) Cc: 16731@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 13 19:18:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WE0rX-0003V1-V2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Feb 2014 19:18:16 +0100 Original-Received: from localhost ([::1]:48263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WE0rX-0006UF-Hj for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Feb 2014 13:18:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WE0rP-0006Tr-Lu for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 13:18:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WE0rK-00075q-2P for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 13:18:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WE0rJ-00075m-V0 for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 13:18:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WE0rJ-0007Iz-O3 for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 13:18:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2014 18:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16731 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16731-submit@debbugs.gnu.org id=B16731.139231542327983 (code B ref 16731); Thu, 13 Feb 2014 18:18:01 +0000 Original-Received: (at 16731) by debbugs.gnu.org; 13 Feb 2014 18:17:03 +0000 Original-Received: from localhost ([127.0.0.1]:51131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WE0qM-0007H6-I5 for submit@debbugs.gnu.org; Thu, 13 Feb 2014 13:17:02 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:35344) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WE0qJ-0007GV-3V for 16731@debbugs.gnu.org; Thu, 13 Feb 2014 13:17:00 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N0Y00C004TKTT00@a-mtaout20.012.net.il> for 16731@debbugs.gnu.org; Thu, 13 Feb 2014 20:16:52 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N0Y00C515G20UA0@a-mtaout20.012.net.il>; Thu, 13 Feb 2014 20:16:52 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85502 Archived-At: > From: Stefan Monnier > Cc: andreas.roehler@easy-emacs.de, 16731@debbugs.gnu.org > Date: Thu, 13 Feb 2014 13:10:02 -0500 > > >> Doesn't sound too bad. But it does beg the question: why check > >> (downcase (c) != c) at all, then? > > Because it's faster, > > Is it? Both lookups look like CHAR_TABLE_REF to me. > > > and for most characters will do the job. > > But we'll check the unicode table at least for more than half the > characters (i.e. for all the lowercase and non-case characters), so the > fast path can't give us more than a factor of 2 speed up anyway, and the > slow path is made slower by unnecessarily looking up the case table. > > I guess what I mean is that without actual measurements it's not obvious > at all that speed is a good justification. What about custom buffer-local case tables?