Closed icellan closed 1 year ago
Patch coverage: 94.44
% and project coverage change: +0.02
:tada:
Comparison is base (
79b6991
) 80.61% compared to head (1999018
) 80.64%.:exclamation: Current head 1999018 differs from pull request most recent head 8281ffe. Consider uploading reports for the commit 8281ffe to get more accurate results
:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
This pull request looks stale. Feel free to reopen it if you think it's a mistake.
Malloc is expensive and this pull request removes all mallocs from
toBytesHelper
used byToBytes()
andToExtendedBytes()
. This makes it much faster to get the bytes of a transaction when you are doing millions of transactions per second.I also optimized
Clone()
of tx, which is used in various places, for instance when validating signatures.