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 >> TailoredAny 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 are

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::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

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 ex