From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: feature/native-comp f055f52 1/2: * Fix two find function functions for native compilation Date: Mon, 09 Mar 2020 13:23:32 -0400 Message-ID: References: <20200308215344.25963.91575@vcs0.savannah.gnu.org> <20200308215345.F2DB020B30@vcs0.savannah.gnu.org> <625d90e6-46d1-728c-9157-525ac12100e8@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="81481"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Andrea Corallo , Noam Postavsky , Emacs developers To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 09 18:24:15 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jBM8R-000L2J-VR for ged-emacs-devel@m.gmane-mx.org; Mon, 09 Mar 2020 18:24:11 +0100 Original-Received: from localhost ([::1]:47232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBM8R-00055m-1W for ged-emacs-devel@m.gmane-mx.org; Mon, 09 Mar 2020 13:24:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58598) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBM7t-0004XN-Vy for emacs-devel@gnu.org; Mon, 09 Mar 2020 13:23:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBM7s-0000lU-JT for emacs-devel@gnu.org; Mon, 09 Mar 2020 13:23:37 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:8979) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jBM7s-0000l0-D8 for emacs-devel@gnu.org; Mon, 09 Mar 2020 13:23:36 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id E119444F1B8; Mon, 9 Mar 2020 13:23:34 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 70BCD44F0F5; Mon, 9 Mar 2020 13:23:33 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1583774613; bh=TSrljz5FEuZtSvg92QmzKgK9alJRX5p8ymJ0z29xlxY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ltjLaBSQsVNcBw+/yaaURpkicWAy4pNfmS7eI1W3mYzVf9wL4drnCNeX0ESRH+3uL 36WSeOaGcmSGZxxVXAowENhkaCvpolAyxirvU1lIm5sKm+6iRiyZpwCq7wwEEkGQf/ sAQhB8KpCnqEY1f26CpNdXrP1vFpp464rkkVRUaBq2gxx3iowDJOoP5eWTs8eVZMy7 0CJJmRN7nOTk8CakF3dBrqon9DrN9TD3Ko1g1/YvgukN9OByXs8jg4+GmbUcmvnhda ZMyv43uHL7tX1/fhfT5o361R4IzrY57e0F0ZyGtWnhbODjk6DDiOTtFnElM8BXi2wX zfqICUb4cdCKw== Original-Received: from alfajor (modemcable157.163-203-24.mc.videotron.ca [24.203.163.157]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 374C41202FF; Mon, 9 Mar 2020 13:23:33 -0400 (EDT) In-Reply-To: (martin rudalics's message of "Mon, 9 Mar 2020 18:11:27 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245394 Archived-At: > But wrt my question I was just curious whether the regexp engine > contains an optimization that makes "\\'" match faster than "$". No, \' is no faster than $. It's just The Right Thing here, even tho the probability that $ will misbehave in this case is very low here (you'd need to have a file with ".eln\n" embedded somewhere in its name). Stefan