[Top][All Lists]

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

Re: Not using DOC for ELisp files

From: Eli Zaretskii
Subject: Re: Not using DOC for ELisp files
Date: Sat, 08 Jan 2022 09:08:51 +0200

> Date: Fri, 7 Jan 2022 17:59:25 -0500
> Cc: emacs-devel@gnu.org
> From: Ken Raeburn <raeburn@raeburn.org>
> There was an optimization I did, for platforms supporting the "section" 
> attribute extension (at least MacOS and the GNU tools on ELF), to group 
> together the strings in the object file (and hopefully the executable) 
> so that, if the doc strings weren't actually used, none of those pages 
> need be paged in from disk, because they aren't intermixed with other 
> data (except maybe at the ends of the range). But if that support isn't 
> available, the rest should still work fine. And if the non-Lisp doc 
> strings amount to less than a megabyte, as I think an earlier email in 
> this thread indicated, the memory cost of not doing this apparently 
> isn't huge anyway.

Beware: adding new sections to the binary causes problems when the
binary is stripped.

reply via email to

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