Sample changing replay priorities in logarithmic time via a binary sum tree.
Definition at line 42 of file qdhuac.py.