General

Profile

kou (Kouhei Sutou)

  • Login: kou
  • Email: kou@cozmixng.org
  • Registered on: 06/03/2008
  • Last sign in: 02/22/2024

Issues

open closed Total
Assigned issues 0 95 95
Reported issues 1 12 13

Projects

Project Roles Registered on
Ruby Committer 07/04/2008

Activity

Today

11:19 PM Ruby Feature #19315: Lazy substrings in CRuby
I think that we should not deprecate `RSTRING_PTR()` for backward compatibility.
How about adding a new API such as `RSTRING_RAW_PTR()` for `char *` that may not be `\0`-terminated instead?
`RSTRING_RAW_PTR()` works like the curren...
kou (Kouhei Sutou)
11:09 PM Ruby Feature #22056: Add zero-copy String constructor backed by an arbitrary Ruby object
Eregon (Benoit Daloze) wrote in #note-12:
> > The returned String holds a direct GC reference to the source String, so it remains valid even after the buffer is freed.
> ...
Good point. We should add "the buffer owned by another object...
kou (Kouhei Sutou)
10:46 PM Ruby Feature #22056: Add zero-copy String constructor backed by an arbitrary Ruby object
jhawthorn (John Hawthorn) wrote in #note-11:
> himura467 (Akito Shitara) wrote:
> ...
Interesting. We may be able to add an optimization for embeddable data if embedded `String` is faster: `rb_str_new_static()` returns a embedded `Stri...
kou (Kouhei Sutou)
10:34 PM Ruby Feature #22056: Add zero-copy String constructor backed by an arbitrary Ruby object
byroot (Jean Boussier) wrote in #note-9:
> Another though: what does it means for coderanges? Since the buffer is owned by another object, it can be mutated without going through one of String methods, which means things like `ENC_CODERA...
kou (Kouhei Sutou)

05/06/2026

08:21 AM Ruby Feature #22056: Add zero-copy String constructor backed by an arbitrary Ruby object
I want this feature as a user of `IO::Buffer#get_string` and the author of `GLib::Bytes#to_s`. Both of them are for processing Apache Arrow data effectively.
> When a String referencing a small slice of a large buffer remains reachabl...
kou (Kouhei Sutou)

04/18/2026

07:36 AM Ruby Misc #21922: Permissions for committers for ex-default/bundled/unbundled gems repositories
I can help maintaining these no primary maintainer gems as a member of "Legacy Gems Maintenance Team". kou (Kouhei Sutou)

03/06/2026

09:16 AM Ruby Feature #21932: `MatchData#get_int`
FYI: strscan will use `integer_at` not `get_int`: https://github.com/ruby/strscan/pull/192#issuecomment-4002582149 kou (Kouhei Sutou)

05/10/2025

09:03 AM Ruby Feature #21311: Namespace on read (revised)
> building fiddle fails
Could you share the error message?
kou (Kouhei Sutou)

04/28/2025

10:21 PM Ruby Bug #21288 (Closed): StringScanner#named_captures overrides matched captures with unmatched captures
strscan 3.1.4 gem fixed this. kou (Kouhei Sutou)

04/14/2025

02:06 AM Ruby Bug #21207 (Closed): CSV gem not installing in head
Thanks.
I close this.
kou (Kouhei Sutou)

Also available in: Atom