diff options
| author | Marc Brooks <IDisposable@gmail.com> | 2026-05-29 15:54:58 -0500 |
|---|---|---|
| committer | Marc Brooks <IDisposable@gmail.com> | 2026-05-29 15:54:58 -0500 |
| commit | 5c7ee6a6356917252063078fdb3ff331f897bf69 (patch) | |
| tree | fa8761dac4bd552552662d0efc48f4972bafc8a5 /MediaBrowser.Controller/MediaEncoding/ISubtitleEncoder.cs | |
| parent | 645ae6bb99671ec8bd87c6cb78e6fa3d77063c55 (diff) | |
Improved resilience for fast-paths
Use fast paths only if we can TryGetBuffer on MemoryStream using segment's Array.
Reduce swap overhead for fast path B.
Avoid multiple virtcalls by memoizing the CanSeeks.
Overlap slow path stream async reads.
Diffstat (limited to 'MediaBrowser.Controller/MediaEncoding/ISubtitleEncoder.cs')
0 files changed, 0 insertions, 0 deletions
