From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-12-15 00:51:11
"David Abrahams" <dave_at_[hidden]> wrote in message
> "Gennadiy Rozental" <gennadiy.rozental_at_[hidden]> writes:
>> This is not clear cut. I do not see in theory why any boost::variant
>> algorithm couldn't be optimized to almost the same code (module type
>> switching). On the other hand excessive usage of tuples will cause
>> appropriate code bloat, eventually leading to code slow down.
> Not clear cut at all. When operating on a sequence where all the
> types are different, the version with variant will be both slower and
I love these performance "estimations"
Do you have any numbers to sustain this?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk