On Sat, Jan 10, 2009 at 9:28 PM, karol skocik <karol.skocik@...> wrote:
> Hi,
> thanks for clarification,
>
>> (declaim (sb-ext:freeze-type foo))
>>
>
> I will follow advice 3. along with others and rewrite our most
> performance sensitive classes as structs, so I guess this declamation
> can't hurt then.
It won't really help either -- it will only change the way TYPEP test
for frozen types are compiled slightly, without any real performance
advantage. Add to that the fact that if/when proper inheritance
sealing is implemented, the FREEZE-TYPE declamation is likely to be
deprecated, I would recommend against using it.
Cheers,
-- Nikodemus
|