emacs-devel
[Top][All Lists]
Advanced

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

Pure nil and t?


From: Dmitry Antipov
Subject: Pure nil and t?
Date: Mon, 22 Sep 2014 12:38:16 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1

For a long byte-compile runs, ~15-17% of objects seen by GC are nil and t
(especially nil, which is ~10x more "popular" than t).  What about making
them pure?  Thus way they will be quickly filtered out by PURE_POINTER_P
check in mark_object, thus offloading GC from an in-depth examination of
them each time when they're found.

Dmitry



reply via email to

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