1 2 3 4 5 6 7
prelude: | str = "a" * 1000 re = Regexp.new(str) benchmark: string: Regexp.new(str) regexp: Regexp.new(re)