DataStructures.jl
DataStructures.jl copied to clipboard
setindex! returns priority queue
To follow the abstract dictionary API, setindex! shall return the priority queue when applied to such objects. This also fixes pushing of multiple items with push! on a priority queue.