Sha256: fd9e9058fadb48aee2ebcf0d5dd919c9cd90b7a46844ed9b51b243af2676294a
Contents?: true
Size: 225 Bytes
Versions: 1
Compression:
Stored size: 225 Bytes
Contents
# frozen_string_literal: true require "hotch/memory" ary = [] puts Hotch::Memory.report("1") { ary << "string" } puts Hotch::Memory.report("2") { ary << "another" } puts Hotch::Memory.report("3") { ary.join(" ") }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hotch-0.7.0 | examples/memory_inline_report.rb |