Files
shaka-player/lib/text
Ivan 503234e9c6 perf(VTT): reduce GC pressure in VTT text parser (#9869)
This PR:

 - replaces `splice` with an index variable to avoid array shifts on every cue parse
 - replaces `slice(1).join('\n')` with a manual loop to eliminate two intermediate allocations per cue
 - hoists inline regex literals to static class constants, fixing unreliable literal caching in older Chromium version (helps TV devices and Xbox)
2026-03-20 15:11:10 -07:00
..