Download the PHP package justblackbird/stable-priority-queue without Composer
On this page you can find all versions of the php package justblackbird/stable-priority-queue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download justblackbird/stable-priority-queue
More information about justblackbird/stable-priority-queue
Files in justblackbird/stable-priority-queue
Download justblackbird/stable-priority-queue
More information about justblackbird/stable-priority-queue
Files in justblackbird/stable-priority-queue
Vendor justblackbird
Package stable-priority-queue
Short Description Stable implementation of priority queue
License MIT
Package stable-priority-queue
Short Description Stable implementation of priority queue
License MIT
Please rate this library. Is it a good library?
Informations about the package stable-priority-queue
Stable Priority Queue
Stable implementation of priority queue data structure in PHP.
Why
There is an implementation of priority queue in SPL: SplPriorityQueue
. The problem is it is unstable. Take a look at the example below:
This example retrieves a string "1 4 3 2"
and not "1 2 3 4"
. This library provides an implementation that extracts values of the same priorites in the order they came in. The example above will return "1 2 3 4"
!
Installation
Usage
License
MIT (c) Dmitry Simushev
All versions of stable-priority-queue with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4
The package justblackbird/stable-priority-queue contains the following files
Loading the files please wait ....