Clean up topological-sort
We don't actually need to get the full set of minimal elements on each iteration
because we don't need to break ties. It'll be faster (and cleaner) to just grab
the first one we find.
author |
Steve Losh <steve@stevelosh.com> |
date |
Sat, 26 Mar 2016 19:30:09 +0000 |
parents |
22e5e1250898 |
children |
(none) |
<i>Made with Lisp and love by [Steve Losh][] in Reykjavík, Iceland.</i>
[Steve Losh]: http://stevelosh.com/
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-15328874-3', 'auto');
ga('send', 'pageview');
</script>