mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-26 17:46:26 +03:00
2c8cfd20f3
This PR reduces GC pressure during MPEG-TS segment parsing - it replaces nested PES packet arrays with a flat array plus a PES-start index, eliminating per-PES inner array allocations and avoiding spread-operator overhead when concatenating packets - reduces allocations, hence reduces GC pressure on low-end devices during long livestreams