This is all a rather crude, mechanical conversion, I bet there's tonnes of 
further cleanup possible.
The main point here is to get rid of C-side allocations.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/3243

-- Commit Summary --

  * Refactor ordering relation storage to use STL forward_queues
  * Refactor the Dijkstra algorithm innards to use a STL queue
  * Refactor ordering SCC storage to STL vectors
  * Refactor ordering SCC members to use an STL vector
  * Refactor ordering Tarjan algorithm to use STL vector for it's stack

-- File Changes --

    M lib/order.c (208)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/3243.patch
https://github.com/rpm-software-management/rpm/pull/3243.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3243
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to