From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master a3b2101 1/2: New file with obarray functions. Date: Wed, 11 Nov 2015 18:28:18 -0500 Message-ID: References: <20151111165602.28114.31123@vcs.savannah.gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: ger.gmane.org 1447284580 29067 80.91.229.3 (11 Nov 2015 23:29:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Nov 2015 23:29:40 +0000 (UTC) Cc: esperanto@cumego.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 12 00:29:31 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZwepT-0007Jg-H5 for ged-emacs-devel@m.gmane.org; Thu, 12 Nov 2015 00:29:27 +0100 Original-Received: from localhost ([::1]:43633 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwepS-0006ig-LA for ged-emacs-devel@m.gmane.org; Wed, 11 Nov 2015 18:29:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zweou-0006am-3J for emacs-devel@gnu.org; Wed, 11 Nov 2015 18:29:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zweod-0003uc-Ee for emacs-devel@gnu.org; Wed, 11 Nov 2015 18:28:52 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZweoN-0003nE-Ad; Wed, 11 Nov 2015 18:28:19 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZweoM-0001bG-Jw; Wed, 11 Nov 2015 18:28:18 -0500 In-reply-to: (message from Stefan Monnier on Wed, 11 Nov 2015 15:26:53 -0500) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:194172 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. ]]] > Funnily enough, I think we should discourage the use of obarrays. > There are times/places where they are really indispensable (when we > really need to handle *symbols*), but in the majority of cases where > I could see this obarray.el being used, a hash-table would work better > (e.g. hash-table-p is more reliable, print+read actually works, access > is usually faster, ...). Hash tables are a lot newer -- for a long time, obarrays were the only Emacs data type that did hashing. Perhaps that is why obarrays are used in some places where hash tables would be better. -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html.