ruby-dev summary 22574-22624

K

Kazuo Saito

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,141
Messages
2,570,817
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top