apainintheneck 99d5200db3 tap: fix performance regression in *_files_by_name
We essentially stopped caching these accidentally and they get
called every time we try to load a cask or formula from the API.
It gets really, really, really slow.

I ran `brew deps --casks --eval-all` before and after the changes.

I let it run for 3 minutes before killing it. No output had been
printed to the screen.

It finished printing all output (pages and pages of it) in less
than a minute.

---

This should match the caching behavior we had before the
recent changes in these two PRs.

- https://github.com/Homebrew/brew/pull/16777
- https://github.com/Homebrew/brew/pull/16775
2024-03-01 19:30:53 -08:00
..
2024-02-09 00:11:05 +00:00
2024-03-01 18:26:55 +00:00
2024-01-26 15:03:59 -08:00
2024-03-01 18:26:39 +00:00
2024-02-11 21:53:21 -05:00
2023-12-31 11:29:57 -08:00
2023-12-18 09:34:01 -08:00
2023-12-19 19:05:28 +09:00
2024-02-18 15:47:56 -08:00
2024-02-18 15:47:56 -08:00
2024-02-04 15:42:26 +01:00
2024-01-22 10:52:43 -08:00
2023-12-27 15:29:33 -08:00
wip
2024-02-11 20:27:38 -08:00
2024-03-01 18:26:39 +00:00
2024-02-13 18:46:58 +01:00
2024-02-18 15:47:56 -08:00
2024-02-19 13:29:49 -08:00
2024-01-12 15:37:24 +01:00
2024-02-22 22:03:54 +01:00

Homebrew Ruby API

This is the API for Homebrew.

The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.

You may also find the Formula Cookbook and Ruby Style Guide helpful in creating formulae.

Good luck!