Hi, I tested ScalarMulti with my code, and find there has too many temporary variables in ExtendedGroupElement Add and Double functions, so it takes huge memory(10*5*uint64=400B for Add func, 8*5*uint64=320B for Double func) in Benchmark test and called GC. Maybe we can remove some temporary variables for improving performance.
Hi, I tested ScalarMulti with my code, and find there has too many temporary variables in ExtendedGroupElement Add and Double functions, so it takes huge memory(
10*5*uint64=400B
for Add func,8*5*uint64=320B
for Double func) in Benchmark test and called GC. Maybe we can remove some temporary variables for improving performance.