Hi all,


This is a summary of ruby-dev mailing list.


[ruby-dev:22577] modify of rb_class_of

K.Sasada posted a speed optimization patch for CLASS_OF(obj) and
its benchmark trial report, and Matz accepted it.  Based on the
idea that the argument of rb_class_of(obj) is not special
constants in most cases, the patch adds "!SPECIAL_CONST_P(obj)"
(or similar statements) to the beginning of rb_class_of(VALUE obj).
You can find the trial report from:

  http://www.namikilab.tuat.ac.jp/~sasada/diary/200401.html#d12

The page above is written in Japanese, but the codes and results
are plain ASCII.


[ruby-dev:22581] [Oniguruma] /a{,n}/

K.Kosako extended Oniguruma's regexp syntax to handle "/a{,n}/"
as equivalent to the expression "/a,{0,n}/" when compiling
Oniguruma with the flag ONIG_SYNTAX_RUBY.  To help users just
made a typo and did not mean to use it,  Tanaka Akira gave
Kosako patches to raise warnings when the new expression
is used.


- For previous issues, visit ruby-dev summary index:
     http://i.loveruby.net/en/ruby-dev-summary.html


-- 
Kazuo Saito <ksaito / uranus.dti.ne.jp>