emacs-devel
[Top][All Lists]
Advanced

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

[RFC, experimental] save_{excursion,restriction}


From: Dmitry Antipov
Subject: [RFC, experimental] save_{excursion,restriction}
Date: Mon, 23 Jul 2012 21:07:02 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0

It's worth trying to redesign save-restriction and save-excursion to avoid
allocating Lisp data. I tried some hacks for save-excursion, and it's quite
surprising: initially, running (while t (scroll-up) (sit-for 0.05)) over
just loaded xdisp.c with font-lock enabled asks for 600 GCs, and with this
patch it's just 350.

Dmitry

Attachment: excursion.patch
Description: Text document


reply via email to

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