emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master a3b2101 1/2: New file with obarray functions.


From: Richard Stallman
Subject: Re: [Emacs-diffs] master a3b2101 1/2: New file with obarray functions.
Date: Wed, 11 Nov 2015 18:28:18 -0500

[[[ 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]