all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Pure nil and t?
@ 2014-09-22  8:38 Dmitry Antipov
  2014-09-22  8:51 ` David Kastrup
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Antipov @ 2014-09-22  8:38 UTC (permalink / raw)
  To: Emacs development discussions

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-22  9:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-22  8:38 Pure nil and t? Dmitry Antipov
2014-09-22  8:51 ` David Kastrup
2014-09-22  9:16   ` Andreas Schwab

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.