guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing the signature of ‘vhash-assoc’


From: Ludovic Courtès
Subject: Re: Changing the signature of ‘vhash-assoc’
Date: Wed, 21 Jul 2010 14:26:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hi,

Andy Wingo <address@hidden> writes:

> On Wed 21 Jul 2010 01:17, address@hidden (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

[Prev in Thread] Current Thread [Next in Thread]