PythonistaGuild / Wavelink

A powerful Lavalink library for Discord.py.
https://wavelink.dev
MIT License
389 stars 179 forks source link

Start of attempted Queue refactor. #255

Closed Sachaa-Thanasius closed 7 months ago

Sachaa-Thanasius commented 9 months ago

Attempting to start a refactor for wavelink.Queue to use an internal list instead of an internal deque.

It should allow users to use the Queue in more ways that need fast random access. Changes are based on the pre-existing queue and this rough layout by Mysty in the Wavelink Discord dev channel.

(Side note: Part of the reason this is a draft is because it feels like a mess at the moment.)

chillymosh commented 7 months ago

Closing as this was implemented in https://github.com/PythonistaGuild/Wavelink/pull/280