Showing posts with label DEQUES. Show all posts
Showing posts with label DEQUES. Show all posts

Wednesday, 2 June 2021

Stop Using Python Lists Everywhere — Consider Using Deques Instead by Yong Cui via @BttrProgramming

Know when to use deques as an alternative to Python lists.

I had no idea these existed and I am SO glad I read this - so thank you - because it has changed the way I write some python code (for the better).