emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109327: Generalize INTERNAL_FIEL


From: Paul Eggert
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109327: Generalize INTERNAL_FIELD between buffers, keyboards and frames.
Date: Wed, 01 Aug 2012 14:04:22 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0

On 08/01/2012 10:38 AM, Tom Tromey wrote:
> FWIW I think it is an interesting project, and the problems are all
> surmountable.

The first step, which is relatively easy and should be done anyway,
is to use ASET (a, i, v) instead of AREF (a, i) = v when setting vectors,
as that's how ASET and AREF are supposed to be used.
I did that as trunk bzr 109381.  I created a new function aref_addr (a, i)
to substitute for "& AREF (a, i)" -- presumably the (rare)
calls to aref_addr will need special attention if write barriers
are implemented.



reply via email to

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