[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pure space and overflow question
From: |
Andrea Corallo |
Subject: |
Re: Pure space and overflow question |
Date: |
Fri, 21 Feb 2020 13:54:42 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> IMO, SYSTEM_PURESIZE_EXTRA is for specific _platforms_. So if a
> specific configuration on some platform needs more pure space, but
> other configurations on the same platform do not, that specific
> configuration should conditionally enlarge BASE_PURESIZE.
Okay
> That said, why does your configuration require more pure space than
> any other on that same platform?
Effectively in comp.c are allocate object that goes into pure space and
all the code is under #ifdef HAVE_NATIVE_COMP.
Also the constant objects present in every compilation unit can have a
small overhead respect to the elc one. This is because they include the
data used by the 'top_level_run' function.
We could split this but personally I'm not sure is worth to complexify
the design to save some KBs of configuration specific pure space.
Thanks
Andrea
--
address@hidden