Hi,
In message "[ruby-talk:5611] Re: Regexp#matches"
on 00/10/17, Aleksi Niemel<aleksi.niemela / cinnober.com> writes:
|All the other are defined like the above, directly pointing two names to one
|C-function. So my question is, is there a reason to use one way or another,
|or should direct definitions instead of rb_define_alias be favored.
Not much. Direct C function is little bit faster though (probably
unnoticable difference).
| *And there are no aliases for 3rd person form*.
Well, there are a few 3rd person method names, exists?, istty, is_a?,
isdst; All have plain form aliases, except isdst. I just forgot to
add an alias to isdst. I'll add Time#dst? soon.
matz.