Re: [boost] boost::any feature request

2003-04-03 Thread Peter Dimov
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

Re: [boost] boost::any feature request

2003-04-02 Thread Vladimir Prus
Hi Maxim, And here are the Intel VTune results (see the sources for details): CreationAssignment struct13383 27358 boost::any3846331870 TailoredAny

RE: [boost] boost::any feature request

2003-03-26 Thread Maxim Egorushkin
-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

Re: [boost] boost::any feature request

2003-03-24 Thread Douglas Paul Gregor
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

[boost] boost::any feature request

2003-03-23 Thread Maxim Egorushkin
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

Re: [boost] boost::any feature request

2003-03-23 Thread Vladimir Prus
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