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: make-record Date: Sun, 24 Dec 2017 15:35:18 -0500 Message-ID: References: <20171211213729.41411-1-phst@google.com> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1514147702 7360 195.159.176.226 (24 Dec 2017 20:35:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 24 Dec 2017 20:35:02 +0000 (UTC) Cc: p.stephani2@gmail.com, npostavs@users.sourceforge.net, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 24 21:34:57 2017 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 1eTCyy-0001Ko-Cs for ged-emacs-devel@m.gmane.org; Sun, 24 Dec 2017 21:34:52 +0100 Original-Received: from localhost ([::1]:39428 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eTD0x-00021a-0C for ged-emacs-devel@m.gmane.org; Sun, 24 Dec 2017 15:36:55 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eTCzX-0001Q8-8A for emacs-devel@gnu.org; Sun, 24 Dec 2017 15:35:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eTCzV-0008Id-PB for emacs-devel@gnu.org; Sun, 24 Dec 2017 15:35:26 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eTCzO-00087O-NG; Sun, 24 Dec 2017 15:35:18 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eTCzO-0007hb-88; Sun, 24 Dec 2017 15:35:18 -0500 In-reply-to: (message from Stefan Monnier on Sat, 23 Dec 2017 10:53:29 -0500) 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:221403 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. ]]] > They are used internally by cl-lib and eieio to implement cl-defstruct > and eieio's defclass. So, `make-record` and `record` should be of the > "fast" kind, since the extra check can be in defclass and cl-defstruct > (where it's very cheap anyway). Maybe you're right. Do cl-lib and eieio take care only to create records for types they have defined? -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) Skype: No way! See https://stallman.org/skype.html.