M3U8Decoder icon indicating copy to clipboard operation
M3U8Decoder copied to clipboard

Performance Issue

Open anelad opened this issue 3 months ago • 2 comments

Hi. First of all, thanks for your contribution to the open source family 🫡

The package is very useful for small playlists but for large ones; I cannot say the same for the playlist I have.

It consists of 194.918 (EXTINF, URI) pairs and single EXTM3U entry with 22,1 MB in size.

Decoding it takes around 5.5 minutes with your package while VLC Player decodes in ~2 minutes. But the blowminding thing is a snippet from this medium post decodes the same playlist instantly (1.3 seconds). Of course the snippet does nothing but parsing it, no custom tags or any other features but instant vs 5.5 minutes is something very serious.

I think you should re-think about how you construct things.

Good luck ✌️

anelad avatar Apr 16 '24 18:04 anelad