- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm missing in the tbb::flow::priority_queue_node the ability to trim away to the end of the queue the messages of priorities below the threshold, else there could be a million of lower priority messages that would still be unneccessary processed one by one in the end. Besides, keeping the priority queue as compact as possible is probably better for memory and search effectiveness. So as soon a better idea of the thresold is known I'd like to be able to call into the priority queue to purge it. How could I accomplish it?
Thanks,
Igor
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page