Tag Archives: wrapper
Min-Heap in Python
I recently wanted to implement a small event system where events can have different priorities. So for example the event with highest priority (lowest value) should be handled first. Python comes with a heapq module which can transform a list … Continue reading