Skip to content

FixedQueue #1

Description

@conartist6

I can't tell what you were going for with the FixedQueue class. It has some beautiful ASCII art in it, but it seems to be part of a design that was not the final one. In particular it seems to assume that it will be fed data character by character, and thus that a pure linked list would have too much memory overhead. In fact though only chunks are ever stored in it so it could be trivially replaced with something like @iter-tools/queue, which would also allow you to remove the queueSize variable.

I also think the dynamic requires on the queue are premature optimization.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions