Files
quic-go/internal/utils
Marten Seemann d9665c632e use a sync.Pool to reduce allocation of linked list elements
Especially the sentPacketHistory linked list shows up in allocation
profiles, since a new list element is allocated for every single packet
we send.
Using a pool for the receiving path, as well as for the frame sorter, is
less critical, since we're tracking ranges there instead of individual
packets / frames, but it doesn't hurt either.
The other occurrences where we use a linked list (connection ID tracking
and the token store) are used so rarely (a few times over the lifetime
of the connection) that using a pool doesn't make any sense there.
2022-12-30 19:24:56 +13:00
..
2022-10-11 16:38:44 +04:00
2022-10-11 16:38:44 +04:00
2022-10-11 16:38:44 +04:00
2018-05-29 20:52:03 +08:00
2022-10-11 16:38:44 +04:00
2022-10-11 16:38:44 +04:00
2022-10-11 16:38:44 +04:00
2022-10-11 16:38:44 +04:00
2022-10-11 16:38:44 +04:00