Re: [webrtc-rtptransport] API creates per-packet temporary objects, this is not ideal for GC (#77)

The same problem exists for `RTCRtpSent` and `RTCRtpAcks` which would further multiply the number of temporaries, I suspect we can easily reach several thousand temporaries per second so I hope we can deploy the same pattern to avoid this problem in all areas of the API shape

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-rtptransport/issues/77#issuecomment-2396728575 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 7 October 2024 11:59:08 UTC