|
From: | Paul Eggert |
Subject: | Re: Define progn_ignore to run Fprogn and ignore output |
Date: | Tue, 27 Dec 2016 10:45:00 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
Chris Gregory wrote:
I'll try to benchmark it tomorrow. If it inlines the function to Fprogn then there is no benefit to performance (assuming it elides the Lisp_Object completely). The code, however, is cleaner now.
Thanks, I looked into this and there's no need to benchmark, as the change (when fixed up) does not alter the generated machine code, at least on my platform (Fedora 24 x86-64, GCC 6.3.1). The basic idea does simplify and clarify the code a bit, so I installed the attached.
0001-Simplify-prog1-implementation.txt
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |