Python: Is collection.deque really memory efficient than builtin list ?

Publié le: 30 novembre 2022
sur la chaîne: Chandrashekar Babu
72
2

Recently - I found a youtube video (highly ranked) titled "A Very Fast And Memory Efficient Alternative To Python Lists (Deque)" and it caught my attention (for the wrong reason of course). So, I thought I could demystify this misconception about deque being super-efficient than a list with this video.

Long story short - use the right data-structure for the right purpose. And, there's a good reason why the builtin python list is not a deque! Hope you'll learn something from this video.


Sur cette page du site, vous pouvez voir la vidéo en ligne Python: Is collection.deque really memory efficient than builtin list ? durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Chandrashekar Babu 30 novembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 72 fois et il a aimé 2 téléspectateurs. Bon visionnage!