emacs-devel
[Top][All Lists]
Advanced

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

Proposal: 'struct window' cleanup


From: Dmitry Antipov
Subject: Proposal: 'struct window' cleanup
Date: Mon, 21 May 2012 18:25:36 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1

This patch drops some Lisp_Object fields (used only as booleans with Qt or Qnil 
values)
from 'struct window', replacing them with bitfields. This is proposed to 1) 
shrink the
memory footprint of the structure and 2) get a tiny speedup of GC by reducing 
the
number of fields to trace at mark phase.

Dmitry

Attachment: window_cleanup.patch
Description: Text document


reply via email to

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