From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [RFC PATCH] Per-window face support Date: Mon, 18 Jun 2018 19:22:32 -0400 Message-ID: References: <5e08587a56ad528599ed5fb259be6335.squirrel@dancol.org> <83muw5vdtr.fsf@gnu.org> <83zhzvyqfy.fsf@gnu.org> <83lgbezs6q.fsf@gnu.org> <6b522145569975d52266e29e8122e86b.squirrel@dancol.org> <50a1e0f98f6cfc5e55fdc2b7df5000b5.squirrel@dancol.org> <1dedb08954732c4e59b8c3f61e13dc7c.squirrel@dancol.org> <5b8d8c42dc341ad85081e400f3fd20e1.squirrel@dancol.org> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1529364062 18745 195.159.176.226 (18 Jun 2018 23:21:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 18 Jun 2018 23:21:02 +0000 (UTC) Cc: dancol@dancol.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 19 01:20:57 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fV3SC-0004gi-6J for ged-emacs-devel@m.gmane.org; Tue, 19 Jun 2018 01:20:56 +0200 Original-Received: from localhost ([::1]:37221 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fV3UJ-0003GU-7i for ged-emacs-devel@m.gmane.org; Mon, 18 Jun 2018 19:23:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fV3UC-0003G4-CD for emacs-devel@gnu.org; Mon, 18 Jun 2018 19:23:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fV3UB-0000N7-Ge for emacs-devel@gnu.org; Mon, 18 Jun 2018 19:23:00 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fV3Tl-00007H-Bh; Mon, 18 Jun 2018 19:22:33 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1fV3Tk-0007Tx-Mf; Mon, 18 Jun 2018 19:22:32 -0400 In-Reply-To: (message from Stefan Monnier on Sun, 17 Jun 2018 16:57:13 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:226476 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > The definition of `eq` in Common-Lisp (and Scheme likewise for `eq?`) > allows it to be defined identically to `eql`. I fear this would lead to a big slowdown in assq, memq, and many other inner loops that now check EQ. Replacing that with EQL, even if it is open-coded, would require testing the type first. One way to avoid that slowdown would be to replace each inner loop with two inner loops, one for the case where EQL really means EQ and one for the case where it doesn't. -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)