cairo-vm-go icon indicating copy to clipboard operation
cairo-vm-go copied to clipboard

Replace secp_utils usage of `big.Int` with uint256 library.

Open rodrigo-pino opened this issue 10 months ago • 6 comments

In ./pkg/hintrunner/utils/secp_utils.go there are utilities for elliptic curves. They used big.Int unnecessarily because all values are smaller than 2**256 - 1.

The task is to replace all use of big.Int with uint256 which is waaaaaaay faster.

rodrigo-pino avatar Apr 15 '24 08:04 rodrigo-pino