General

Profile

watson1978 (Shizuo Fujita)

Issues

Projects

Activity

11/12/2019

04:51 AM Ruby master Bug #16342: macOS + Ruby 2.6.0 以降で拡張ライブラリ内での waitpid() コールに失敗する
書き忘れていたのですが、 https://github.com/ruby/ruby/commit/48b6bd74e2febde095ac85d818e94c0e58677647 の変更を境にエラーになるようになり、それ以前ですと問題... watson1978 (Shizuo Fujita)

11/11/2019

03:59 PM Ruby master Bug #16342 (Open): macOS + Ruby 2.6.0 以降で拡張ライブラリ内での waitpid() コールに失敗する

## 再現環境
* Ruby 2.6.0 以降
* macOS 10.15 (試した環境)
## 問題の説明
macOS 上で Ruby 2.6.0 以降を使用した際に、拡張ライブラリ内で `fork()/exec()...
watson1978 (Shizuo Fujita)

11/04/2019

09:16 AM Ruby master Feature #16290 (Open): Add Ruby C API to acquire aligned memory
Related to https://github.com/ruby/ruby/pull/2614
I have required to acquire aligned memory in Ruby C-extension li...
watson1978 (Shizuo Fujita)

10/14/2019

10:54 AM Ruby master Revision a2f9c38a (git): [flori/json] Convert Hash object using rb_hash_foreach()
To convert Hash convert, this part was using following pseudo code
```
obj.keys.each do |key|
value = obj[key]
....
watson1978 (Shizuo Fujita)
10:54 AM Ruby master Revision 98a9445d (git): [flori/json] Add shortcut converting to String
In where to convert Hash key to String for json, this patch will add shortcut for String/Symbol in Hash key.
```
$ r...
watson1978 (Shizuo Fujita)
10:54 AM Ruby master Revision 641136c4 (git): [flori/json] Does not check whether illegal utf-8 if string has ascii only.
## Before
```
$ ruby bench_json_generate.rb
Warming up --------------------------------------
json ...
watson1978 (Shizuo Fujita)
10:54 AM Ruby master Revision 40724d7d (git): [flori/json] Convert String encoding using `rb_str_encode()`
`rb_funcall` might be slightly heavy to call the Ruby method.
This patch will convert String encoding using `rb_str_e...
watson1978 (Shizuo Fujita)
10:54 AM Ruby master Revision d7fa7e2c (git): [flori/json] Convert string encoding to UTF-8 only when needed
## Before
```
$ ruby bench_json_generate.rb
Warming up --------------------------------------
json ...
watson1978 (Shizuo Fujita)

10/09/2019

03:25 AM Ruby master Revision 2d001003 (git): Improve performance of Array#sum with float elements (#1555)
The declaration of local variable in loop, it will initialize local variable for each run of the loop with clang gene... watson1978 (Shizuo Fujita)

02/02/2019

09:54 AM Ruby master Bug #15469: Ruby2.6 included `bundler` does not handle specified `csv` gem.
> Does anyone try with the attached patch?
I've got an expected result finally with the patch.
Thank you for grea...
watson1978 (Shizuo Fujita)

Also available in: Atom