
----- Original Message ----- From: "Vladimir Prus" <ghost@cs.msu.su>
If the trick is to use "void*" pointer to data for storing data when it's small, then:
- it's interesting to see performance comparison for any<string>, or any<some_other_large_class>
Another part of the optimization, is to avoid reallocating when reassigning any a different value with the same type. On a related note: several people have suggested that a buffer should be used with an arbitrary size set at compile time, which would help significantly for container types.
- can't this be just patch to boost::any, as opposed to completely different class?
What does submitting a patch entail? Is that the way to go if the implementation is completely different? - Chriostopher Diggins