• @vzq
      link
      216 hours ago

      And thank god for that. Theoretical computer science is still good ;)

    • @[email protected]
      link
      fedilink
      1
      edit-2
      16 hours 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.