From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: Note on 109327 Date: Tue, 31 Jul 2012 23:47:13 +0200 Message-ID: <87obmv1u3i.fsf@zigzag.favinet> References: <5017D1D4.2050601@yandex.ru> <5017DCBE.6020606@yandex.ru> <877gtk12e1.fsf@fleche.redhat.com> <5017E2B3.1060608@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1343771246 26771 80.91.229.3 (31 Jul 2012 21:47:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Jul 2012 21:47:26 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 31 23:47:24 2012 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 1SwKHk-0005nd-EG for ged-emacs-devel@m.gmane.org; Tue, 31 Jul 2012 23:47:24 +0200 Original-Received: from localhost ([::1]:43811 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwKHj-0008Bp-Ql for ged-emacs-devel@m.gmane.org; Tue, 31 Jul 2012 17:47:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwKHh-0008BZ-1c for emacs-devel@gnu.org; Tue, 31 Jul 2012 17:47:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwKHf-0006p0-RS for emacs-devel@gnu.org; Tue, 31 Jul 2012 17:47:20 -0400 Original-Received: from smtp205.alice.it ([82.57.200.101]:58506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwKHf-0006od-Hb for emacs-devel@gnu.org; Tue, 31 Jul 2012 17:47:19 -0400 Original-Received: from zigzag.favinet (82.56.5.125) by smtp205.alice.it (8.6.023.02) id 500F3F9E017D4B9A; Tue, 31 Jul 2012 23:47:16 +0200 Original-Received: from ttn by zigzag.favinet with local (Exim 4.72) (envelope-from ) id 1SwKHk-0002vn-9j; Tue, 31 Jul 2012 23:47:24 +0200 In-Reply-To: <5017E2B3.1060608@yandex.ru> (Dmitry Antipov's message of "Tue, 31 Jul 2012 17:50:43 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.101 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:152050 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Dmitry Antipov () Tue, 31 Jul 2012 17:50:43 +0400 > I think to do this well you will need separate macros for getting > and setting. Sure, but it's almost impossible to do this at once. Why? At the very beginning, it's possible to "overestimate" barrier assuming that each XVAR (obj, field) changes FIELD in OBJ; in the future, reads and writes may be separated, thus giving a precise write barrier. I think you're saying that you prefer to do: a1. substitute object access (whether LHS or RHS) w/ XVAR (obj, field) a2. distinguish LHS (which could benefit from optimization) from RHS a3. substitue LHS =E2=80=98XVAR (...) =3D value=E2=80=99 w/ SETVAR (obj, fi= eld, value) instead of: b1. distinguish LHS (which could benefit from optimization) from RHS b2. substitute LHS object access w/ SETVAR (obj, field, value) b3. substitute RHS object access w/ XVAR (obj, field) Is my understanding correct? =2D-=20 Thien-Thi Nguyen ..................................... GPG key: 4C807502 . NB: ttn at glug dot org is not me . . (and has not been since 2007 or so) . . ACCEPT NO SUBSTITUTES . ........... please send technical questions to mailing lists ........... --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAlAYUmQACgkQZwMiJEyAdQIoEwCcDKNPjzpHGRD33Vw7bpyVWh0J CJEAn2n66vmvApvkSjFxaaQqjaggZYHX =ioS6 -----END PGP SIGNATURE----- --=-=-=--