25 Feb
2019
25 Feb
'19
9:14 p.m.
Niall Douglas wrote:
https://github.com/pdimov/variant2/blob/develop/benchmark/benchmark1.md
These are very interesting and useful, thank you. I now have hard evidence with which to persuade people at work that Boost.Variant needs to be purged from our latency critical paths.
Do read my follow-up message as well though. With -DBOOST_VARIANT_VISITATION_UNROLLING_LIMIT=1, boost::variant performs very well. (And even as-is, it also performs well with a more recent g++ (8 or 9) than my 7.4.)