neo-go/pkg
Roman Khimov 4803cc15c7 keys: add (*PublicKey).DecodeBytes benchmark
Attempts to reuse elliptic.Unmarshal() and elliptic.UnmarshalCompressed() lead
to this:
name                 old time/op    new time/op    delta
PublicDecodeBytes-8    59.5µs ± 2%    61.8µs ± 1%  +3.78%  (p=0.000 n=10+9)

name                 old alloc/op   new alloc/op   delta
PublicDecodeBytes-8    3.99kB ± 0%    4.27kB ± 0%  +6.81%  (p=0.000 n=9+10)

name                 old allocs/op  new allocs/op  delta
PublicDecodeBytes-8       136 ± 0%       135 ± 0%  -0.74%  (p=0.000 n=10+10)

So it makes no sense. Refs. #1319.
2021-08-25 22:35:39 +03:00
..
compiler core: remove conflicting transactions wrt MaxTraceableBlocks 2021-08-18 13:31:47 +03:00
config config: add P2PStateExchangeExtensions and StateSyncInterval settings 2021-08-10 11:00:32 +03:00
consensus consensus: fix nonce handling 2021-07-21 19:06:19 +03:00
core transaction: avoid reencoding and reading what can't be read 2021-08-23 21:41:38 +03:00
crypto keys: add (*PublicKey).DecodeBytes benchmark 2021-08-25 22:35:39 +03:00
encoding util: move ArrayReverse into package of its own 2021-07-19 22:57:55 +03:00
interop native: drop Refuel method from GAS 2021-08-05 10:27:13 +03:00
io transaction: avoid reencoding and reading what can't be read 2021-08-23 21:41:38 +03:00
network transaction: avoid reencoding and reading what can't be read 2021-08-23 21:41:38 +03:00
rpc rpc/request: delay parameter unmarshaling 2021-08-13 16:22:54 +03:00
services notary: fix possible deadlock in UpdateNotaryNodes 2021-07-23 14:48:00 +03:00
smartcontract stackitem: use Bool item directly 2021-08-12 17:53:36 +03:00
util util: reduce allocations in util.Uint256DecodeStringLE 2021-08-17 16:53:39 +03:00
vm Merge pull request #2128 from nspcc-dev/vm-update-int 2021-08-13 16:16:01 +03:00
wallet wallet: use named constants in Seek 2021-07-29 17:11:50 +03:00