Jack Nagel ca71c038a1 Cache Hardware.is_64_bit?
IO#popen is called for each call to Hardware.is_64_bit?; this becomes
costly when it is repeatedly invoked. Luckily it is an invariant, so we
can store it in a class variable.

False is a valid value for this method, so the usual ||= idiom is not
applicable.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-02 01:10:21 -05:00
..
2012-07-01 12:10:32 -05:00
2012-06-16 11:43:43 -05:00
2011-11-13 19:23:00 -08:00
2012-04-30 21:37:58 +08:00
2012-04-01 12:39:59 -05:00
2012-05-01 20:45:17 +08:00
2012-06-29 00:55:01 -05:00
2012-07-02 01:10:21 -05:00
2012-05-02 23:43:30 -05:00
2011-08-02 14:45:26 +01:00
2012-06-16 11:43:43 -05:00
2012-07-01 12:12:44 -05:00
2012-05-03 20:22:47 -07:00
2012-06-27 12:09:57 -07:00