Deques can be FASTER than lists in Python

Описание к видео Deques can be FASTER than lists in Python

On top of that, they actually have some really nice features that set them apart, such as being able to append to and pop from both sides and having an optional maxlen property. How have I not talked about them properly before?!

0:00 - Intro
0:54 - What are deques?
1:35 - Creating and manipulating a deque
3:50 - The `maxlen` parameter
6:13 - How do deques work?
7:16 - Rotating deques
8:52 - Performance benchmarks: deques vs. lists
11:43 - Outro



If you enjoy my content, consider supporting me on Patreon or becoming a member!
https://patreon.carberra.xyz
https://join.carberra.xyz

If you need help with anything, feel free to join the Discord server:
https://discord.carberra.xyz

I get a lot of people asking, so here's my Visual Studio Code setup!
   • My Visual Studio Code setup!  



If you have any questions, don't hesitate to ask in the comments! I'll try and answer as soon as I can, providing someone else hasn't already done so.

#python #coding #howto

Комментарии

Информация по комментариям в разработке