[Top][All Lists]

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

Re: 'struct window' cleanup #2

From: Dmitry Antipov
Subject: Re: 'struct window' cleanup #2
Date: Mon, 25 Jun 2012 20:30:16 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1

On 06/25/2012 06:53 PM, Stefan Monnier wrote:
For a `struct window', changing the type of `last_point', `last_modified'
and `last_overlay_modified' from Lisp_Object to appropriate integral
value eliminates a lot of useless Lisp_Object <-> {EMACS_INT, ptrdiff_t}
conversions in a window and redisplay code; and, of course, lesser Lisp_Objects
means a bit faster GC. OK to install?

hscroll and min_hscroll are good candidates as well.

IIUC, doing this means that we can't treat saved_window as Lisp_Vector anymore 
- it
should be one more pseudo-vector type like save_window_data instead. Is it 
worth doing?


reply via email to

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