@evoskuil ec_scalar and ec_secret get used together a lot in many places in code, They are automatically convertible between each other. There's a lot of conversion often between the 2. What can I use to profile the amount of copies made? Can valgrind see how often a new std::array is constructed? What program would you recommend for this? (Linux btw)