`SmallVec` with length 1
larseggert opened this issue Ā· comments
Lars Eggert commented
quiche/qlog/src/events/quic.rs
Line 651 in 098664e
This allocates a SmallVec
that spills on the heap when the second element is inserted, which is probably much earlier than you want. Suggest bumping this up to 8 or 16 or something (whatever number you think a good bound for the number of frames in most QUIC packets is.)
You might also want to review other uses of SmallVec
in quiche.