this post was submitted on 25 Oct 2024
24 points (100.0% liked)

Python

99 readers
1 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

๐Ÿ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

๐Ÿ Python project:
๐Ÿ’“ Python Community:
โœจ Python Ecosystem:
๐ŸŒŒ Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
top 2 comments
sorted by: hot top controversial new old
[โ€“] FizzyOrange@programming.dev 4 points 3 weeks ago (1 children)

Zero surprises. It's the same as in any other language.

[โ€“] CodeMonkey@programming.dev 3 points 3 weeks ago* (last edited 3 weeks ago)

I was a bit surprised that deque is implemented as a linked list and not, for example, a ring buffer. It would mean that index reads would be constant time (though insert and delete at an index would be linear time), the opposite of using a linked list.