GNU bug report logs - #38708
[PATCH] Deduplicate flonum and bignum constants in bytecode

Previous Next

Package: emacs;

Reported by: Mattias Engdegård <mattiase <at> acm.org>

Date: Sun, 22 Dec 2019 17:11:01 UTC

Severity: normal

Tags: patch

Done: Mattias Engdegård <mattiase <at> acm.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Mattias Engdegård <mattiase <at> acm.org>
Subject: bug#38708: closed (bug#38708: [PATCH] Deduplicate flonum and
 bignum constants in bytecode)
Date: Fri, 27 Dec 2019 14:25:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#38708: [PATCH] Deduplicate flonum and bignum constants in bytecode

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 38708 <at> debbugs.gnu.org.

-- 
38708: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38708
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Mattias Engdegård <mattiase <at> acm.org>
To: 38708-done <at> debbugs.gnu.org
Subject: bug#38708: [PATCH] Deduplicate flonum and bignum constants in bytecode
Date: Fri, 27 Dec 2019 15:24:20 +0100
Pushed to master.

[Message part 3 (message/rfc822, inline)]
From: Mattias Engdegård <mattiase <at> acm.org>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Deduplicate flonum and bignum constants in bytecode
Date: Sun, 22 Dec 2019 17:42:50 +0100
[Message part 4 (text/plain, inline)]
Minor improvement to avoid duplication of some numbers in bytecode.

No significant degradation in compilation speed observed. The savings aren't huge either: 1382 bytes in all .elc files, but the in-memory savings are probably higher, since an extra small flonum (1.0, say) only costs 4 bytes in the .elc file, but something like 16-24 bytes in memory (pointer + boxed flonum).

[0001-Deduplicate-non-fixnum-numeric-constants-in-byte-com.patch (application/octet-stream, attachment)]

This bug report was last modified 5 years and 143 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.