-
Notifications
You must be signed in to change notification settings - Fork 20.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core/vm: use fixed uint256 library instead of big #20601
Conversation
|
Yep, I agree
Well, the struct consists of
(
Yep, we'll see that in the charts, and also the number of allocs and the gc workload.
Yes, I would assume so, but we'll have to benchmark that change. So first |
In my repo, I aded a branch
Interestingly, removing the pools does not improve these benchmarks:
However, I think that's just some weirdness of the tests, there's no reason that e.g. |
Updated with the latest improvements from @chfast
|
Closing in favour of #20787 |
This PR is another experiment at integrating the fixed-256 bit math library, instead of using the native go
big.Int
arbitrary precision big number library.Theoretically, it could make a difference, but historically we haven't seen any big differences. We have some more advanced metrics now, and both @gballet and @chfast has been curious about giving it another go, so let's do a benchmark when we have a couple of machines available.
See #18191 for earlier numbers.