These are chat archives for boostorg/hana

6th
Nov 2015
Peter Shih
@peter50216
Nov 06 2015 06:35
This message was deleted
In http://boostorg.github.io/hana/#tutorial-performance, it says "the cost of creating a std::array is constant and essentially inexistent.", but it doesn't feels "inexistent" in the chart. Am I missing something?
Louis Dionne
@ldionne
Nov 06 2015 13:12
@peter50216 The “cost” you see is the cost for including <array>.
@peter50216 I’ll confirm this, just a sec.
std_array_include.jpeg
Louis Dionne
@ldionne
Nov 06 2015 13:18
@peter50216 I confirm. If you look at the above chart, you can see that just including <array> has basically the same compile-time overhead as creating a std::array.
Peter Shih
@peter50216
Nov 06 2015 15:21
@ldionne Oh ok. Maybe we should add this explanation to the tutorial, to avoid confusion.
Louis Dionne
@ldionne
Nov 06 2015 15:25
@peter50216 Done in boostorg/hana@e9b9a00.