BuildCraft/BuildCraft — pull request #641 by AartBluestoke (2013-02-18 04:58:33+00:00)
Title: cache the IRecipe

act's should not re-search for their recipe, when the last recipe found
is still able to be used.

CraftingHelper.findMatchinRecipe() is identical to
vanilla.CraftingManager.findMatchingRecipe, except it returns the
IRecipe, rather than just the result.

ACT's re-searching for inventory seems to be the primary cause for crafting "lag" within logistics pipes.

![slowAWB](https://f.cloud.github.com/assets/1892829/166069/378cbb1a-7986-11e2-9f08-ce61634b0a6b.png)

(full nps from
https://www.dropbox.com/s/01ywgc8lnyr2es2/1361111585024.nps?dl=1
several hundred k items extracted from ex-dim barrels, sent to a set of act's, crafted to blocks, and then sent back to barrels.

sendStack->queueRoutedItem() is to do with logistics HUD display, and is being worked on lag-wise also.)