Felix Lange
154ca32a8a
rlp: optimize byte array handling (#22924)
This change improves the performance of encoding/decoding [N]byte.
name old time/op new time/op delta
DecodeByteArrayStruct-8 336ns ± 0% 246ns ± 0% -26.98% (p=0.000 n=9+10)
EncodeByteArrayStruct-8 225ns ± 1% 148ns ± 1% -34.12% (p=0.000 n=10+10)
name old alloc/op new alloc/op delta
DecodeByteArrayStruct-8 120B ± 0% 48B ± 0% -60.00% (p=0.000 n=10+10)
EncodeByteArrayStruct-8 0.00B 0.00B ~ (all equal)
2021-05-22 15:10:16 +02:00
..
2016-04-15 09:48:05 +02:00
2021-05-22 15:10:16 +02:00
2021-05-22 15:10:16 +02:00
2021-05-07 14:37:13 +02:00
2021-05-22 15:10:16 +02:00
2021-05-22 15:10:16 +02:00
2019-09-13 11:10:57 +02:00
2020-05-11 18:58:43 +03:00
2021-03-16 12:15:14 +02:00
2020-11-04 19:29:24 +01:00
2020-11-04 19:29:24 +01:00
2021-05-22 15:10:16 +02:00
2021-05-22 13:34:29 +02:00
2021-05-22 15:10:16 +02:00