From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master b7f83ad: Prefer memset to repeatedly assigning Qnil Date: Mon, 19 Jan 2015 07:14:42 -0800 Message-ID: <54BD1F62.8020304@dancol.org> References: <20150119090203.4087.82062@vcs.savannah.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mKU8GtW1wXiN8oLnKKchK5bgrKxhaC5Ix" X-Trace: ger.gmane.org 1421680504 19349 80.91.229.3 (19 Jan 2015 15:15:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2015 15:15:04 +0000 (UTC) Cc: Paul Eggert To: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 19 16:15:02 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 1YDE2d-0006p4-VL for ged-emacs-devel@m.gmane.org; Mon, 19 Jan 2015 16:15:00 +0100 Original-Received: from localhost ([::1]:38004 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDE2d-0008DK-5p for ged-emacs-devel@m.gmane.org; Mon, 19 Jan 2015 10:14:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDE2X-0008BZ-3T for emacs-devel@gnu.org; Mon, 19 Jan 2015 10:14:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDE2W-0004Hm-8m for emacs-devel@gnu.org; Mon, 19 Jan 2015 10:14:53 -0500 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:42268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDE2V-0004Hb-V7 for emacs-devel@gnu.org; Mon, 19 Jan 2015 10:14:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=Yc7SEfuK5Wi/mHE02xDWp0IfNa62e8Y6EG54ma2nHIY=; b=YISWTCDvN2N83gY9032t+U0OJsNCpayWKroF8Hhk5Y7Jxnkr5Q0cdG2a3X0sEBMJ6HPqPE18Zzta5R/TFgXeQ37Bbf5zm0sokx9D7x/qMlM9f7c5Nj5gyqkkY9yag+cbL4ZgqjAba9sel8QgHiqFcSFVzVK4ld0Ku7hfZoqjjRHlkwfxNg6L0HZC1lO0tsBR41BOQl4x7HAF5rFiW8XZhqw2VRrpuA5g/z9n0sX6FTlIPes0KjPfxdlcSozFhYo6pDiMg9vmzZKcb9UuR72/IMtLROQGhgCzG/Kyy7PVeAp8yYTdgQ2HZMg6MC8Z2OV5qcwd4fFlyLTzeGgSmg6AqQ==; Original-Received: from [2620:10d:c081:1101:2ab2:bdff:fe1c:db58] by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1YDE2T-000616-Rq; Mon, 19 Jan 2015 07:14:50 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 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:181436 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --mKU8GtW1wXiN8oLnKKchK5bgrKxhaC5Ix Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 01/19/2015 06:33 AM, Stefan Monnier wrote: >> Prefer memset to repeatedly assigning Qnil >=20 > I don't know if I like this idea very much. It's nice to make Qnil be > represented by 0, but should we really rely on this all over the place,= > making it quasi-impossible to revisit this choice in the future? If we can't rely on Qnil being 0, what's the point of making Qnil =3D=3D = 0 in the first place? If we can rely on Qnil being 0, we can put Lisp variables in BSS, use memset, and perform other nice optimizations. --mKU8GtW1wXiN8oLnKKchK5bgrKxhaC5Ix Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJUvR9iAAoJEN4WImmbpWBlP54P/iz0aq7CLIhnKWI/7Z6PJbA+ aQXgK0rbEr+eNSEMlXw/u905N3C/n63SDNtOi9l+BAh1ZI1+LsJX61db6hXbyRAM IWoT94x3/Z3S0tDjh6MvsAnzEuS3Mr47G3G7FlI30gj76gIt7FgGWx+PMJUoWMGB 2zdwrvGq7Bg5QfGxDlso59CjDxNV3PRl7iYiFAyKXY7WuOCPWW5tv1vvBfdD+DDt CZyozvfu0ilTDVzce6pH99cBKadnzV3dVJkaqdjGB7JN5HjsBeBvfME4dErR1HmE cEBbG0mRxUnhxFlB1jvEC4rra0p3yVFtafyEGMgk+bfr7QI3HYJBSkK0j1xK0Xie yU/SQUc4TfLe/3L/BOvGW5jjozH0ApfxBQX81/iEcddLjG0sEpims3X34MNbk4f+ lxfszDLF1zTQUt3mpTvOQ/kjDtixwefjdcow5ZJzHg3Fi5TKw9obDV93uvMEkGdy TZj1Nfsz/eSPdkjvt5DBA312ol4KCtH6s2F8zQ4cXEvbLRadEhyngyKTfDqZil8q Kjqg19+MdAlNGGP948clJDEr18KNbZoi7TPPfmNgwoyCkeSQe0VxDxjTU0uSM8X2 zTCqeIqib2FwPaV1iSXgNqgMz8afkAi5yom9yAnZ3fBDbV/xCCmt6KuRGR4Iesl+ s37qWlj0TZFAMyBLg7xX =KqW2 -----END PGP SIGNATURE----- --mKU8GtW1wXiN8oLnKKchK5bgrKxhaC5Ix--