neoneo-go/pkg
Evgeniy Stratonikov 8c31831626 util: reduce allocations in util.Uint256DecodeStringLE
It is used a lot in clients (including our benchmark).
`Uint160` is already optimized.

```
name                     old time/op    new time/op    delta
Uint256DecodeStringLE-8     150ns ±15%     112ns ± 3%  -25.23%  (p=0.000 n=10+10)

name                     old alloc/op   new alloc/op   delta
Uint256DecodeStringLE-8     96.0B ± 0%     64.0B ± 0%  -33.33%  (p=0.000 n=10+10)

name                     old allocs/op  new allocs/op  delta
Uint256DecodeStringLE-8      2.00 ± 0%      1.00 ± 0%  -50.00%  (p=0.000 n=10+10)
```

Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
2021-08-17 16:53:39 +03:00
..
compiler compiler: use parameter directly in writeJumps 2021-08-13 11:59:04 +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 Merge pull request #2123 from nspcc-dev/store-better 2021-08-13 12:50:24 +03:00
crypto crypto/keys: enforce length in PublicKey.DecodeBytes() 2021-08-13 10:38:09 +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 io: add Grow to BinWriter 2021-08-09 12:05:31 +03:00
network Merge pull request #2119 from nspcc-dev/states-exchange/insole 2021-08-12 10:35:02 +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