Skip to content
A set of priority queue classes for Objective C
Objective-C
Latest commit ed85d32 Nov 5, 2012 @jessedc Merge pull request #1 from russellporter/master
Fixed a compiler warning

README.md

JCPriorityQueue

A pure Cocoa implementation of a priority queue.

  • ARC
  • Unit tested

Making it faster

It's likely that the performance of NSMutableArray could be improved by replacing the underlying data structures with something one of the C++ algorithms.

The best option is the C++ priority_queue or a heap in an implementation like Mike Ash's example.

I've started to implement an experimental heap backed priority queue on another branch.

(Thanks to Oliver Jones for the Mike Ash tip off)

by Jesse Collis jesse@jcmultimedia.com.au
Something went wrong with that request. Please try again.