Jack Nagel
c13311ca09
Cache MacOS.version comparison results
...
MacOS.version#<=> is called many, many times during formula loading with
the same half dozen or so arguments. A typical call to this method
involves:
* a hash lookup to convert a symbol argument to a string
* creation of a throw-away Version object wrapping the argument
* the actual version comparison, which is not cheap
This makes it a prime candidate to be memoized.
2014-04-02 20:29:20 -05:00
..
2014-04-01 20:47:26 -05:00
2014-02-24 23:26:11 -05:00
2014-03-28 17:02:14 -07:00
2014-03-12 13:56:27 +00:00
2014-04-02 20:29:20 -05:00
2014-03-23 15:32:34 -07:00
2014-04-01 16:03:07 -05:00
2014-03-26 16:07:49 -05:00
2014-02-10 13:17:16 -05:00
2014-03-04 18:20:21 -08:00
2014-03-24 09:56:14 +00:00
2014-04-01 16:03:08 -05:00
2014-02-28 11:16:55 -06:00
2014-03-13 16:37:11 -05:00
2014-03-12 13:29:19 +00:00
2014-02-25 20:24:34 -08:00
2014-03-14 13:05:09 -05:00
2014-02-13 16:31:12 -05:00
2014-04-02 19:58:15 -05:00
2014-02-28 11:16:55 -06:00
2014-03-18 21:28:33 -05:00
2014-03-17 11:52:11 -07:00
2014-03-29 10:23:43 -05:00
2014-03-11 08:03:04 +00:00
2014-04-01 21:35:22 -05:00
2014-03-30 15:55:37 -05:00
2014-03-07 17:33:02 -06:00
2014-03-29 22:18:48 -05:00
2014-03-31 22:39:41 -05:00
2014-01-15 09:07:18 +00:00
2014-02-27 14:22:42 -06:00
2014-03-18 14:46:43 -05:00
2014-03-05 20:12:51 -06:00
2014-03-05 20:45:44 -06:00
2014-03-13 18:07:11 -05:00
2014-03-18 14:24:32 -05:00
2014-04-01 16:03:08 -05:00
2014-03-22 13:16:16 -05:00
2014-03-31 12:57:31 -05:00
2014-03-29 17:47:42 -05:00
2014-01-11 20:00:34 -06:00