Sha256: e9bd854e2d11cc7a36c8d3ce7f5b6042b5a1cc6da74a14c175e2902bbc1267d2
Contents?: true
Size: 193 Bytes
Versions: 26
Compression:
Stored size: 193 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require 'benchmark/ips' Benchmark.ips do |x| x.report('block') { (1..100).map(&:to_s) } x.report('&:to_s') { (1..100).map(&:to_s) } end
Version data entries
26 entries across 26 versions & 1 rubygems