Sha256: 07ce2e5e5be0f9cf0c9f1482a2d9bb28c1ba9528db27638f5cd23cb9c7ba81c5
Contents?: true
Size: 663 Bytes
Versions: 4
Compression:
Stored size: 663 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. unless $USE_RUBY begin need { '../../../ext/amp/priority_queue/CPriorityQueue' } PriorityQueue = CPriorityQueue rescue LoadError # C Version could not be found, try ruby version need { 'priority_queue/ruby_priority_queue' } PriorityQueue = RubyPriorityQueue end else need { 'priority_queue/ruby_priority_queue' } PriorityQueue = RubyPriorityQueue end
Version data entries
4 entries across 4 versions & 2 rubygems