|
|
Subscribe / Log in / New account

Removing support for Emacs unexec from Glibc

Removing support for Emacs unexec from Glibc

Posted Feb 17, 2016 17:32 UTC (Wed) by nye (subscriber, #51576)
In reply to: Removing support for Emacs unexec from Glibc by fw
Parent article: Removing support for Emacs unexec from Glibc

>Almost all of the load time increase in an undumped Emacs comes from the way string allocation works in this mode: It performs a linear search over the heap to determine if the requested string has been allocated before and there is an allocation which can be reused (so it does string interning, like Lua, but without a hash table)

That's... disgusting. I remember doing something similarly nasty in, like, my second C program ever, and being pretty ashamed about it.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds