good morning!!!!

Skip to content
Snippets Groups Projects
Commit 6eaa9d34 authored by Marius van der Wijden's avatar Marius van der Wijden Committed by Igor Mandrigin
Browse files

rlp: avoid list header allocation in encoder (#21274)


List headers made up 11% of all allocations during sync. This change
removes most of those allocations by keeping the list header values
cached in the encoder buffer instead. Since encoder buffers are pooled,
list headers are no longer allocated in the common case where an
encoder buffer is available for reuse.

Co-authored-by: default avatarFelix Lange <fjl@twurst.com>
# Conflicts:
#	rlp/encode.go
parent d6f7b4b9
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment