Skip to content
Browse files

Message about the RVM

  • Loading branch information...
1 parent 521765a commit 805124b2b6de670b80bd5ea6dd304779856cbd78 @rafaellima committed Jan 11, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 benchmarks/micro-benchmarks/bm_str_chars.rb
View
1 benchmarks/micro-benchmarks/bm_str_chars.rb
@@ -1,6 +1,7 @@
# That ruby code is gonna show you that the Ruby version 1.9.3 manage strings in a different way.
# If you have one string with 23 or less characteres, it would be a way faster than a string with 24 or more.
# All the credits to Pat Shaughnessy, http://patshaughnessy.net/2012/1/4/never-create-ruby-strings-longer-than-23-characters
+# DON'T FORGET TO CHANGE THE RUBY VERSION TO 1.9.3 Ex:RVM $ rvm use 1.9.3
require 'benchmark'

0 comments on commit 805124b

Please sign in to comment.
Something went wrong with that request. Please try again.