PriorityQueue_MTC v.1.0

Kem Tekinay of MacTechnologies Consulting is pleased to announce PriorityQueue_MTC, a priority queue class for Xojo.

PriorityQueue_MTC lets you add arbitrary values (Variants) with arbitrary priorities, then pull those values in order of their priority. It handles both min-to-max and max-to-min sorting, and lets you peek ahead to see the priority and value of the next item on the queue. Based on a binary heap, it is tuned for performance and comes with a number of unit tests to illustrate its usage.

The project is free and can be downloaded from:

The README there has further details on installation, usage, and more.

9 Likes