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
TailoredAnyLoki::SmallObject 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
On Mon, 24 Mar 2003, Vladimir Prus wrote:
Say, I have
std::mapstd::string, boost::any values;
Will I be able to write:
anyfast_allocator 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
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
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