https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62056
Piotr Dziwinski <piotrdz at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |piotrdz at gmail dot com
--- Comment #1 from Piotr Dziwinski <piotrdz at gmail dot com> ---
I can confirm this bug report as I also noticed longer compilation times with
GCC's implementation of `std::tuple`, specifically when switching from
`std::tr1::tuple` to `std::tuple` (problem originally reported in Google Test
library:
https://groups.google.com/forum/#!topic/googletestframework/TGrf26S65n0).
Using the same sample code as above, when I replace `std::tuple` to
`std::tr1::tuple`, I get better compilation time (tested with GCC 4.9.1):
std::tuple 0m0.388s
std::tr1::tuple 0m0.134s
This difference is small in such small example, but it has noticeable impact on
larger projects (total compilation time increase counted in minutes).
I would also second the proposal to fix this issue by implementing flat version
of std::tuple. Perhaps the existing std::tr1::tuple implementation can be
re-used here?