prelude: | str = "a" * 1000 re = Regexp.new(str) benchmark: string: Regexp.new(str) regexp: Regexp.new(re)