undocumented param
walker API for both pqueue and binheap