Deprecated: It's not efficient, though it still works. Would rather have people use better mods. Read the output of wagons stopped at stations, in different ways. Warning: UPS Heavy, mostly a toy mod
I can add some performance options, it may take some time. Honestly this mod is more of a prototype/toy. Thank you for trying out the mod though!
LTN or Inventory Sensor should be better in every respect. The reason I wasn't using get_contents is because it's not perfect: one could have partial empty stacks, which messes with counts of empty spaces.
for now i have come up with a workaround just filling up a chest and connecting it to a circuit network instead of reading wagon contents. this is computationally more expensive than doing nothing but the map must function! it's cheaper than the lua was. i'll look at the changes you made sometime, though. thanks Honktown