2 ms·
This is also how Emacs optimized its startup: by loading its initial Emacs Lisp code and dumping itself together with a heap snapshot into a new executable (the
by bitwize 5y ago
This is also how Emacs optimized its startup: by loading its initial Emacs Lisp code and dumping itself together with a heap snapshot into a new executable (there is a special API in glibc to do just this).
Recently Emacs has moved to a "portable dump" approach which saves the heap snapshot separately.
- sitkack 5y agoThis is a wonderful read on the "portable dumper" https://lwn.net/Articles/707615/ https://lwn.net/Articles/707615/ https://web.archive.org/web/20191030205003/https://dancol.org/pdumperpres.pdf https://web.archive.org/web/20191030205003/https://dancol.or...