Using RNTP v5.0, when I reduce the queue from 2,000 elements down to 20, my podcast app freezes for several minutes and triggers multiple ANRs on Android.
The issue seems to be removeIndexes, which is extremely slow. Interestingly, there is no performance issue when going from 20 to 2,000 tracks using addTracks.
I cannot use reset() , load() or setQueue() as workarounds because they cause audio interruptions, which is a poor user experience for a podcast app.