Hi,

Andy Wingo <[email protected]> writes:

> On Wed 21 Jul 2010 01:17, [email protected] (Ludovic Courtès) writes:
>
>>>> Indeed, if ‘vhash-assoc’ et al. are changed to return a vhash instead of
>>>> a pair
>>>
>>> Thinking more about it, I think I’d rather keep ‘vhash-assoc’ & co. as
>>> they are, and add ‘vhash-assoc*’ & co., which would return a vhash.
>>
>> Commit 927bf5e8cc0af9515797ebab6d9ba162bef23c2a is roughly the original
>> patch.
>
> Doesn't that impose an allocation penalty on vhash-assoc?

No, it remains as before.  The new ‘vhash-fold*’ does not allocate
either.

Thanks,
Ludo’.

Reply via email to