commit | 053859ffc67425a00915010f9df3c899119114d2 | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Fri Jul 01 03:54:54 2016 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Fri Jul 01 03:54:54 2016 +0000 |
tree | 238056e9c95751e15f1b984fdd453fe5cffeec8e | |
parent | a3ccd96ede26a2f383328234e01eb7a9f870691e [diff] |
Flatten the tuple_element and __make_tuple_types implementations. This patch attempts to improve the QoI of std::tuples tuple_element and __make_tuple_types helpers. Previously they required O(N) instantiations, one for every element in the tuple The new implementations are O(1) after __tuple_indices<Id...> is created. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@274330 91177308-0d34-0410-b5e6-96231b3b80d8