Subject: [boost] boost.foreach overhead
From: Christopher Lux (christopherlux_at_[hidden])
Date: 2010-10-17 13:12:01
On 10/9/2010 John Carmack of id Software wrote on his Twitter account: â@ID_AA_Carmack: It took 69 single steps to get past a BOOST_FOREACH() statement. Madness.â
This made me think again about the overhead introduced with boost foreach. Is the overhead really this large as he makes it sound? Are there heuristics to when to use foreach according to the expected iteration counts?
-- Christopher Lux | | Bauhaus-UniversitÃ¤t Weimar | Faculty of Media - Virtual Reality Systems Group | Tel. +49 (0) 3643 - 58 3734
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk