Sha256: e7f1b719763099d17b777f17a8785c8491767f7def52aaaea0142799e6265d63
Contents?: true
Size: 522 Bytes
Versions: 42
Compression:
Stored size: 522 Bytes
Contents
# A priority queue implementation. # This extension contains two implementations, a c extension and a pure ruby # implementation. When the compiled extension can not be found, it falls back # to the pure ruby extension. # # See CPriorityQueue and RubyPriorityQueue for more information. begin require 'priority_queue/CPriorityQueue' PriorityQueue = CPriorityQueue rescue LoadError # C Version could not be found, try ruby version require 'priority_queue/ruby_priority_queue' PriorityQueue = RubyPriorityQueue end
Version data entries
42 entries across 42 versions & 8 rubygems