mxcl/homebrew — Issue #10455: Should `patch` evaluate `patches` so many times?
Author: adamv
Created: 2012-02-24 20:35:31+00:00
State: open

https://github.com/mxcl/homebrew/blob/master/Library/Homebrew/formula.rb#L569

Patch evaluates patches a bunch of times, which is obviously "fast enough", but maybe it should call the function once and cache.

There is at least one formula I *think* that actually "does something" in the patches method. Which is discouraged, but would be surprising if it happend more than once.