General

Profile

Masaki Matsushita

Issues

Projects

Activity

11/15/2015

08:27 AM Ruby trunk Feature #11666: IPAddr#private?
I think private? is better than private_addr? because private_addr? seems to be redundant in following code:
```ru...

11/08/2015

07:20 AM Ruby trunk Feature #11666 (Assigned): IPAddr#private?
I propose a new feature: IPAddr#private?.
Example:
```ruby
IPAddr.new("192.168.1.1").private? #=> true.
```

05/29/2015

01:21 AM Ruby trunk Feature #7148: Improved Tempfile w/o DelegateClass
I think the problem you faced was resolved at r50118, wasn't it?

05/13/2015

08:25 AM Ruby trunk Bug #11130: Re: [ruby-changes:38376] glass:r50457 (trunk): * enum.c (enum_to_a): Use size to set ...
再入チェックを入れてパフォーマンスを比較した結果、改善が見られなかったのでrevertしました。
再入チェック付の最適化:
ruby-dev bm_enum_to_a_sized.rb 19.46s user 1.29s s...

05/12/2015

02:15 PM Ruby trunk Bug #11130: Re: [ruby-changes:38376] glass:r50457 (trunk): * enum.c (enum_to_a): Use size to set ...
Enumerable#countは、実際にイテレーションを回してみて回った数を数える実装となっています。
pull request ( https://github.com/ruby/ruby/pull/444 )の狙いはEnume...
01:29 PM Ruby trunk Bug #11130: Re: [ruby-changes:38376] glass:r50457 (trunk): * enum.c (enum_to_a): Use size to set ...
互換性を壊すのは私の本意ではないので、以前と同じ挙動になるよう修正しました。
ご迷惑をおかけしました。

11/27/2014

12:31 AM Ruby trunk Feature #8919: Queue as embedded class
How about the implementation in attached patch.diff?

11/26/2014

05:41 AM Ruby trunk Feature #10544: Time#to_i(:millisecond)
I want this feature to give unix time to other languages like JavaScript.
Some languages expect unix time in millise...
01:47 AM Ruby trunk Feature #10544 (Rejected): Time#to_i(:millisecond)
Currently, we have to take an indirect way to get unix_time in milliseconds.
~~~ruby
time = Time.now
millisecond...

09/21/2014

05:52 PM Ruby trunk Feature #8366 (Closed): Exception.message take time to execute depending on the instance variables
It can't be reproduced with ruby 2.1.3.
```
ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-linux]
before Nam...

Also available in: Atom