DFHack/dfhack — pull request #320 by eswald (2014-09-07 22:10:28+00:00)
Title: Stockpile iterator

An efficient way to check stockpile contents, making autotrade and stockflow a bit faster. Also fixes a minor bug in autotrade, where it would keep sending empty bins to the depot as soon as they get assigned to the stockpile.