Vladimir Prus wrote:
> Hi Maxim,
>
>> And here are the Intel VTune results (see the sources for details):
>>
>> Creation Assignment
>> struct 13383 27358
>> boost::any 3846 331870
>> TailoredAny<> 9151 310717
>> TailoredAny 3855 110022
>
> IOW, TailoredAny behaves much worse on creation in default
Hi Maxim,
> And here are the Intel VTune results (see the sources for details):
>
> CreationAssignment
> struct13383 27358
> boost::any3846331870
> TailoredAny<>
-Original Message-
From: Vladimir Prus [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 10:25 AM
To: Boost mailing list
Subject: Re: [boost] boost::any feature request
[]
P.S. And, BTW, it would be great to see the complete code that you
propose (or
a diff to CVS HEAD).
Here are
On Mon, 24 Mar 2003, Vladimir Prus wrote:
> Say, I have
>
>std::map values;
>
> Will I be able to write:
>
>any a;
>values[10] = a;
>
> ?
> IOW, I don't think your proposal provides any means to convert between 'any'
> with different allocators. And I'm not sure you can easily achieve t
Hi Maxim,
> I think it would be great to make boost::any's memory allocation
> strategy for value holder customizable. It would allow to use not only
> global new operator, but any other special fast allocators like, for
> example, Loki::SmallObject.
>
> The changes are minor and would not break ex
Title: Сообщение
I think it would be great to make boost::any's
memory allocation strategy for value holder customizable. It would allow to use
not only global new operator, but any other special fast allocators like, for
example, Loki::SmallObject.
The changes are minor and would not break