Depq

JSON →
library 0.7 ·ruby
verified Jun 19, 2026

A Double-Ended Priority Queue library that supports insertion and deletion of elements with minimum and maximum priority, with tie-breaking by insertion order and priority updates.