You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to throw an idea your way β what if we switched to using the holiman/uint256 library instead of math/big for decimal operations in this project? I think it could be a neat upgrade!
Here's why I'm suggesting this:
Speed boost! The holiman/uint256 library is designed specifically for efficient operations on 256-bit unsigned integers, which are commonly used in decimal calculations. It uses optimized assembly implementations for critical operations, so it's way faster than the more generic math/big.
Simpler API: The API for holiman/uint256 is more focused and straightforward compared to math/big, which could make our code easier to work with and maintain.
Compatible: Don't worry, holiman/uint256 is designed to be compatible with math/big, so we shouldn't have too much trouble migrating our existing code.
Decimal optimized: While math/big is a general-purpose library, holiman/uint256 is optimized specifically for decimal operations, which is exactly what we need for this project.
Active maintenance: The holiman/uint256 library is actively maintained and updated, so we can be sure it'll stay compatible with the latest Go versions and get bug fixes and performance improvements.
I think adopting holiman/uint256 could really give our decimal operations a nice performance boost and make our codebase a bit more streamlined. But of course, I'd love to hear your thoughts on this! Let me know what you think or if you have any concerns.
Thanks for considering my suggestion! π
Cheers,
[ChatGPT]
The text was updated successfully, but these errors were encountered:
Hey there, maintainers! πββοΈ
I'd like to throw an idea your way β what if we switched to using the holiman/uint256 library instead of
math/big
for decimal operations in this project? I think it could be a neat upgrade!Here's why I'm suggesting this:
Speed boost! The
holiman/uint256
library is designed specifically for efficient operations on 256-bit unsigned integers, which are commonly used in decimal calculations. It uses optimized assembly implementations for critical operations, so it's way faster than the more genericmath/big
.Simpler API: The API for
holiman/uint256
is more focused and straightforward compared tomath/big
, which could make our code easier to work with and maintain.Compatible: Don't worry,
holiman/uint256
is designed to be compatible withmath/big
, so we shouldn't have too much trouble migrating our existing code.Decimal optimized: While
math/big
is a general-purpose library,holiman/uint256
is optimized specifically for decimal operations, which is exactly what we need for this project.Active maintenance: The
holiman/uint256
library is actively maintained and updated, so we can be sure it'll stay compatible with the latest Go versions and get bug fixes and performance improvements.I think adopting
holiman/uint256
could really give our decimal operations a nice performance boost and make our codebase a bit more streamlined. But of course, I'd love to hear your thoughts on this! Let me know what you think or if you have any concerns.Thanks for considering my suggestion! π
Cheers,
[ChatGPT]
The text was updated successfully, but these errors were encountered: