[ruby-cvs:79140] 5f3189474c (master): Avoid rb_check_string_type in month_arg
"John Hawthorn" <[email protected]> Tue, 14 Jan 2020 06:58:39 +0900 (JST)
| Newsgroups | gmane.comp.lang.ruby.cvs |
|---|---|
| Message-ID | <[email protected]> |
John Hawthorn 2020-01-03 04:48:03 +0900 (Fri, 03 Jan 2020)
New Revision: 5f3189474c
https://github.com/ruby/ruby/commit/5f3189474c
Log:
Avoid rb_check_string_type in month_arg
=
This will usually receive a fixnum so we should check that first inst=
ead
of the more expensive rb_check_string_type check.
Modified files:
time.c=