noamyogev84 / ConcurrentPriorityQueue

A thread-safe generic first in-first out (FIFO) collection with support for priority queuing.
MIT License
22 stars 6 forks source link

Clear method? #26

Open kiddkaffeine opened 1 month ago

kiddkaffeine commented 1 month ago

Might be handy to have a Clear() method to reuse the queue and avoid reallocations, especially on mobile devices etc.

github-actions[bot] commented 1 month ago

Hey there, freshman! Wassup?