Re: [PHP-DEV] RFC WeakRefs

2018-05-18 Thread Rowan Collins
On 17 May 2018 10:35:11 BST, Etienne Kneuss wrote: >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. It looks to me like WeakMap would be f

Re: [PHP-DEV] RFC WeakRefs

2018-05-18 Thread Etienne Kneuss
On Fri, May 18, 2018 at 1:59 PM Rowan Collins wrote: > On 17 May 2018 10:35:11 BST, Etienne Kneuss wrote: > >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 use

Re: [PHP-DEV] RFC WeakRefs

2018-05-18 Thread Rowan Collins
On 18 May 2018 13:15:21 BST, Etienne Kneuss wrote: >On Fri, May 18, 2018 at 1:59 PM Rowan Collins >wrote: > >> On 17 May 2018 10:35:11 BST, Etienne Kneuss wrote: >> >That said, if the plan is to subsume pecl-weakref, I suggest we also >> >reimplement weakmaps, which offer a convenient way of sto