Re: Call for participation: Annotating internal function argumentandreturn types
| From: | Christoph M. Becker | Date: | Sat, 10 Aug 2019 16:11:47 +0000 |
| Subject: | Re: Call for participation: Annotating internal function argumentandreturn types | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-106531@lists.php.net to get a copy of this message | ||
On 10.08.2019 at 17:54, Mark Randall wrote:
> On 10/08/2019 11:56, Nikita Popov wrote:
>
>> Lack of type information for internal functions in Reflection is a
>> long-standing issue. In PHP 8 we finally have all the necessary technical
>> groundwork done to support argument and return type annotations on
>> internal
>> functions at scale.
>
> Question - If every function needs looking through and parsing, would
> this be a suitable time to move from the ZPP varadic to the macros?
In my opionion, we should only use the macros if the performance
improvement matters for the function at hand; otherwise the increased
memory footprint of the macros unnecessarily bloats the executables.
Thanks,
Christoph