bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Mattias Engdegård
Subject: bug#38708: [PATCH] Deduplicate flonum and bignum constants in bytecode
Date: Sun, 22 Dec 2019 17:42:50 +0100

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).

Attachment: 0001-Deduplicate-non-fixnum-numeric-constants-in-byte-com.patch
Description: Binary data


reply via email to

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