General

Profile

watson1978 (Shizuo Fujita)

Issues

open closed Total
Assigned issues 1 1 2
Reported issues 9 36 45

Projects

Project Roles Registered on
Ruby Committer 12/19/2017

Activity

10/25/2026

06:14 AM Ruby Feature #22463 (Closed): Improve String#index and line splitting performance on x64-mingw-ucrt
I measured this on Windows 11, and the problem does not occur there. I would like to withdraw this proposal.
On Windows 11 (10.0.26300.9711, ucrtbase.dll 10.0.26100.9711), `memchr` in ucrtbase.dll is no longer a byte-by-byte loop. It ...
watson1978 (Shizuo Fujita)

10/22/2026

05:34 AM Ruby Feature #22463: Improve String#index and line splitting performance on x64-mingw-ucrt
For desktop UCRT builds, mingw-w64 currently imports `memchr` rather than providing its own implementation. Its `libucrt.a` imports the function through `api-ms-win-crt-private-l1-1-0.dll`, which resolves to `ucrtbase.dll` on the tested ... watson1978 (Shizuo Fujita)
04:25 AM Ruby Feature #22463 (Closed): Improve String#index and line splitting performance on x64-mingw-ucrt
## Summary
On x64-mingw-ucrt, `memchr` comes from `ucrtbase.dll`. On the tested system, it is a byte-by-byte loop and runs at about 2.5 GB/s, the same speed as a plain byte loop. Ruby calls `memchr` for single-byte searches, so `Strin...
watson1978 (Shizuo Fujita)

10/12/2026

08:22 AM Ruby Bug #22428 (Open): Fiber scheduler: rb_nogvl returns as if the function ran when an offloaded operation is cancelled before execution
## Description
When a fiber scheduler cancels an offloaded blocking operation before a worker starts it, `rb_nogvl` returns normally even though the function never ran. It returns the zero-initialized result, so the caller cannot dist...
watson1978 (Shizuo Fujita)

08/12/2026

01:34 PM Ruby Feature #21308: Replacing the Float#to_s (dtoa.c) implementation with a modern algorithm
Looks like we are about to get yet another vendored implementation of the same kind: https://github.com/ohler55/oj/pull/1095 proposes vendoring the same Boost-licensed fpconv (Grisu2) code that the json gem already ships.
I think it is...
watson1978 (Shizuo Fujita)

07/04/2026

04:30 PM Ruby Bug #22178 (Closed): Regexp#== regression: regexps built via the `rb_reg_new` C API are no longer equal to an identical literal
On current master, two `Regexp` objects that have the same options, the same regexp encoding (`Regexp#encoding`),
and byte-identical sources are no longer `==` if their *source strings* have different encodings (e.g. `ASCII-8BIT` vs `US...
watson1978 (Shizuo Fujita)

09/19/2025

11:22 AM Ruby Bug #21611: Ruby 3.4.6 can't be built with GCC 15.2.1
Attached full build logs. watson1978 (Shizuo Fujita)
11:07 AM Ruby Bug #21611 (Closed): Ruby 3.4.6 can't be built with GCC 15.2.1
Arch Linux provides GCC 15.2.1.
https://archlinux.org/packages/core/x86_64/gcc/
When I build Ruby 3.4.6 with GCC 15.2.1, it cause error:
### How to Reproduce
Here is a Dockerfile to reproduce the error:
```
FROM archlinux:lat...
watson1978 (Shizuo Fujita)

08/21/2025

01:18 PM Ruby Bug #21547: SEGV after 2083fa commit
Thanks. It works well! watson1978 (Shizuo Fujita)
10:09 AM Ruby Bug #21547: SEGV after 2083fa commit
We are running tests using Ruby HEAD on Linux, macOS, and Windows platforms.
https://github.com/fluent/fluentd/actions/runs/17022072274
The SEGV are caused on each platforms...
watson1978 (Shizuo Fujita)

Also available in: Atom