repo.or.cz
/
ruby.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[rubygems/rubygems] Use a constant empty tar header to avoid extra allocations
[ruby.git]
/
benchmark
/
regexp_new.yml
blob
bc9ab3ca21e96642559899855afd2cb28fd0b089
1
prelude: |
2
str = "a" * 1000
3
re = Regexp.new(str)
4
5
benchmark:
6
string: Regexp.new(str)
7
regexp: Regexp.new(re)