Re: RFC: rules for #include directives
| From: | Max Kellermann | Date: | Mon, 16 Jan 2023 16:43:22 +0000 |
| Subject: | Re: RFC: rules for #include directives | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-119286@lists.php.net to get a copy of this message | ||
On 2023/01/16 17:25, Kamil Tekiela <tekiela246@gmail.com> wrote:
> Have you done any benchmarking in terms of build time? Is there any
> tangible difference or is it only theoretical?
I did, but in this early stage, there is no measurable speedup yet,
because there are still too many "fat" headers left that need to be
included everywhere, which in turn include too much. The many small
improvements I made so far drown in that noise.
Once I have disentangled and splitted those fat headers (e.g. move
zend_result to a separate header to avoid including zend_types.h
everywhere), the speedup will be measurable and perceptible. It's too
early to prove it with numbers.