Skip to content

Instantly share code, notes, and snippets.

@rubychan
Created February 22, 2011 02:04
Show Gist options
  • Select an option

  • Save rubychan/838094 to your computer and use it in GitHub Desktop.

Select an option

Save rubychan/838094 to your computer and use it in GitHub Desktop.
def Bench.run
a = ''
1_000_000.times do
StringScanner.new a
a << '.'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment