Re: RFC WeakRefs
| From: | Etienne Kneuss | Date: | Thu, 17 May 2018 09:35:11 +0000 |
| Subject: | Re: RFC WeakRefs | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102115@lists.php.net to get a copy of this message | ||
On Thu, May 17, 2018 at 8:10 AM Joe Watkins <krakjoe@php.net> wrote:
> Morning internals,
>
> I'd like to raise for discussion
> https://wiki.php.net/rfc/weakrefs
>
> Am I missing anything ?
>
I'm all for implementing all this natively, the way it was implemented in
pecl-weakref always felt hackish and brittle.
That said, if the plan is to subsume pecl-weakref, I suggest we also
reimplement weakmaps, which offer a convenient way of storing meta/cache
data and is not implementable in userland without trade-offs.
Best,
>
> Cheers
> Joe