Skip to content

Consider adding a queue data structure to the Spicy runtime library #1525

@bbannier

Description

@bbannier

We should consider adding a queue data structure to the Spicy runtime library. We currently only provide a vector<T> and users need to implement their own, if implemented in Spicy code likely inefficient implementation.

We should support at least the following API

struct Queue<T> {
  void push(T);
  optional<T> pop();
  uint64 size();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementImprovement of existing functionalityRuntime LibraryIssues related to the HILTI or Spicy runtime libraries

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions