wonder-people / tiny_pq

A priority queue based on gb_trees

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tiny_pq : A priority queue based on gb_trees

tiny_pq stores values associated with a priority, and provides functions for purging low-priority items efficiently. Internally, tiny_pq uses gb_trees, so you are welcome to use any gb_trees functions as well. tiny_pq is ideal for services with some notion of expiration, e.g. sessions, caches, message queues, etc.

About

A priority queue based on gb_trees