These are chat archives for boostorg/hana

29th
Sep 2016
Louis Dionne
@ldionne
Sep 29 2016 00:01
BTW, I’m sure there’s a compile-time cost for these overloads, but I’ll prefer cleanliness of interface over compile-time speed unless the speed is really bad
Jason Rice
@ricejasonf
Sep 29 2016 00:14
I'm curious about that clang built-in you made for nth-element on packs. Did that ever get merged in? Would it be feasible to make something like that for the construction of detail::hash_table? Even if it wasn't canonical clang it would be cool to have a "distro" with built-ins added specifically for optimizing hana internals.
Louis Dionne
@ldionne
Sep 29 2016 00:14
Yes, it’s in Clang trunk AFAICT.
Jason Rice
@ricejasonf
Sep 29 2016 00:15
cool!
Louis Dionne
@ldionne
Sep 29 2016 00:15
Yeah
We should actually be using it in the implementation
Jason Rice
@ricejasonf
Sep 29 2016 00:16
It'll be neat to see the performance change when it is added.
lmk
Louis Dionne
@ldionne
Sep 29 2016 00:49
Actually, I just checked and I’m not sure where we would be using it in the current scheme. Indeed, what we need more is a builtin to get the nth element of a parameter pack, not just a type parameter pack.