This minor performance issue becomes a huge problem when NilClass#method_missing is defined, such as in ActiveSupport (https://github.com/rails/rails/blob/master/activesupport/lib/active_support/whiny_nil.rb), which is a popular choice w...y_feldblum (Jay Feldblum)
`Kernel#Array`, when passed `nil`, first tries to send `to_ary`, which ends up calling `method_missing`, and then tries to send `to_a`, which finally succeeds. When `Kernel#Array` is used frequently, for example in library/gem code, this...y_feldblum (Jay Feldblum)