Use uint256 instead of big.Int for GAS calculations #727

Open
opened 2023-10-06 08:21:49 +00:00 by fyrchik · 0 comments
Owner

See https://github.com/holiman/uint256/
It is a lot faster than big.Int and does less allocations. The interface pretty-much copies that of big.Int.
neo-go VM is also moving to this repo https://github.com/nspcc-dev/neo-go/pull/2928 , so we might want to support this as well.

See https://github.com/holiman/uint256/ It is a lot faster than `big.Int` and does less allocations. The interface pretty-much copies that of `big.Int`. neo-go VM is also moving to this repo https://github.com/nspcc-dev/neo-go/pull/2928 , so we might want to support this as well.
fyrchik added this to the vNext milestone 2023-10-06 08:21:49 +00:00
fyrchik added the
enhancement
discussion
frostfs-ir
frostfs-node
labels 2023-10-06 08:21:49 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#727
No description provided.