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

Pubblicato il: 30 novembre 2022
sul canale di: 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.


In questa pagina del sito puoi guardare il video online Python: Is collection.deque really memory efficient than builtin list ? della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Chandrashekar Babu 30 novembre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 72 volte e gli è piaciuto 2 spettatori. Buona visione!