Sha256: c3bf8cb54a89af40fc3d9d1592cfedcd358cd4aed490d09bfab0afabde465f50
Contents?: true
Size: 231 Bytes
Versions: 12
Compression:
Stored size: 231 Bytes
Contents
require 'benchmark_driver' Benchmark.driver(output: :simple) do |x| x.prelude <<-EOS class Array alias_method :blank?, :empty? end array = [] EOS x.report %{ array.empty? } x.report %{ array.blank? } end
Version data entries
12 entries across 12 versions & 1 rubygems