Skip to content

PriorityQueue::toArray does not return items in prioritized order #21

@boesing

Description

@boesing

Feature Request

Q A
New Feature yes
RFC no
BC Break yes

Summary

I've recently used the PriorityQueue and realized, that PriorityQueue::toArray does not return items in prioritized order.
Is that intended and if so, why?
I switched to iterator_to_array instead but I wonder for what PriorityQueue::toArray is for.

Feedback welcome.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions