1 2016-08-11 00:32:19 <nsh> what's the purpose of having a bunch of different contexts passed to calls in eg secp256k1? does it save on memory allocations or otherwise improve performance? is this a general C++ pattern?
2 2016-08-11 02:25:47 <luke-jr> nsh: AIUI, it's an (importantish) optimisation, but see #secp256k1 ; also note libsecp256k1 is C, not C++
3 2016-08-11 07:22:30 <nsh> luke-jr, ty
4 2016-08-11 07:52:13 <luke-jr> long overdue unit tests for libblkmaker: https://github.com/bitcoin/libblkmaker/pull/7 (and fixed 8 bugs in the process)
5 2016-08-11 08:54:54 <waxwing> nsh: i can say from painful experience the precomputed contexts make a massive difference :)
6 2016-08-11 11:57:35 <rafalcpp> luke-jr: lol. So it really payed off at least :)