Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Nolan (nolan@toot.cafe)'s status on Thursday, 23-Nov-2017 11:19:52 EST Nolan Nolan

    @gdad_s_river I don't think the answer you got on hashnode is quite right.

    In principle, because tiny-queue is just a linked list, a shift() is O(1), whereas on an array list a shift() would require copying all items one position over, so it's potentially O(n). (Unless the implementation is clever enough to just keep a pointer to the first item and move it over.)

    In conversation Thursday, 23-Nov-2017 11:19:52 EST from toot.cafe permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.