preallocate protocol slice
This was showing up on CPU profiles as a significant source of repeated allocations. We don't really care about over allocation (don't keep these slices around) and should rarely have more than 8 protocols in a single address.
Showing
Please register or sign in to comment