summaryrefslogtreecommitdiffstats
path: root/lib/rdoc/markup/to_html_crossref.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-11 17:46:52 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-11 17:46:52 +0000
commiteb424f60cd2f4d6a97bdf4ca24a072689d09b05f (patch)
tree641874edebfc4982c6ffac04db4eb5f8a01ee5fe /lib/rdoc/markup/to_html_crossref.rb
parent44b86ef7ec1a9ba6eb65effd44541e4e3ab22ab0 (diff)
downloadruby-eb424f60cd2f4d6a97bdf4ca24a072689d09b05f.tar.gz
ruby-eb424f60cd2f4d6a97bdf4ca24a072689d09b05f.tar.xz
ruby-eb424f60cd2f4d6a97bdf4ca24a072689d09b05f.zip
* range.c (range_include): specialize single character string
case (e.g. (?a ..?z).include(?x)) for performance. [ruby-core:15481] * string.c (rb_str_upto): specialize single character case. * string.c (rb_str_hash): omit coderange scan for performance. * object.c (rb_check_to_integer): check Fixnum first. * object.c (rb_to_integer): ditto. * string.c (rb_str_equal): inline memcmp to avoid unnecessary rb_str_comparable(). * parse.y (rb_intern2): use US-ASCII encoding. * parse.y (rb_intern_str): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/markup/to_html_crossref.rb')
0 files changed, 0 insertions, 0 deletions