General

Profile

hasumikin (hitoshi hasumi)

  • Login: hasumikin
  • Registered on: 06/20/2019
  • Last sign in: 10/07/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 2 5 7

Activity

10/05/2026

02:20 AM Ruby Feature #22405 (Open): Run-Length Methods for String Bit Operations
PR: (WIP)
### What this adds
This ticket adds the run-length methods of the String bit operation API. A run is a maximal sequence of consecutive bits with the same value. The methods build on the region arguments of #22279 and on t...
hasumikin (hitoshi hasumi)

10/01/2026

04:14 AM Ruby Misc #22394: DevMeeting-2026-10-07
* [Feature #22399] Iterator Methods for String Bit Operations (hasumikin)
* Proposed new methods `each_bit`, `bits`, `each_bit_offset` and `bit_offsets` for String
* They are the iterator forms of the single-bit read methods merged i...
hasumikin (hitoshi hasumi)
12:21 AM Ruby Feature #22399 (Open): Iterator Methods for String Bit Operations
PR URL: https://github.com/ruby/ruby/pull/19161
### What this adds
The original proposal (#22082) listed this iterator group. Matz asked for a minimal subset in #22082#note-13, and the proposal deferred the group in #22082#note-14....
hasumikin (hitoshi hasumi)

09/14/2026

08:30 AM Ruby Feature #22279 (Closed): Region (Length / Range) Arguments for String Bit Operations
Applied in changeset commit:git|03a426ec8d30929558bf1244b4ad95eb7e1f54d2.
----------
[Feature #22279] Add region arguments to String bit operations (#18562)
This patch extends the following String methods:
* String#bit_set(offset, len...
hasumikin (hitoshi hasumi)
08:30 AM Ruby Revision 03a426ec (git): [Feature #22279] Add region arguments to String bit operations (#18562)
This patch extends the following String methods:
* String#bit_set(offset, length, lsb_first: true) -> self
* String#bit_set(range, lsb_first: true) -> self
* String#bit_clear(offset, length, lsb_first: true) -> self
* String#bit_clear(r...
hasumikin (hitoshi hasumi)

08/29/2026

05:51 AM Ruby Misc #22249: DevMeeting-2026-09-10
* [Feature #22279] Region (Length / Range) Arguments for String Bit Operations (hasumikin)
* Follow-up to [Feature #22118] (String bit operations, accepted): adds `(offset, length)` and Range overloads to `bit_set` / `bit_clear`...
hasumikin (hitoshi hasumi)
05:29 AM Ruby Feature #22279 (Closed): Region (Length / Range) Arguments for String Bit Operations
PR URL: https://github.com/ruby/ruby/pull/18562
## What this adds
Region overloads for the methods introduced in #22118, so they act on a contiguous run of bits in a single call:
```
String#bit_set(offset, length, lsb_first: tr...
hasumikin (hitoshi hasumi)

08/07/2026

12:05 AM Ruby Revision 33752cdb (git): [DOC] Add NEWS entry for String bit operations
Proposed in https://bugs.ruby-lang.org/issues/22118
Merged in #17353
hasumikin (hitoshi hasumi)

08/06/2026

12:41 PM Ruby Feature #22118 (Closed): Introduce Basic Bit Operations into String
Applied in changeset commit:git|2461caebba1d47ca79cfd4e0a825e6df40f375bd.
----------
[Feature #22118] Introduce Basic Bit Operations into String (#17353)
This patch adds the following methods to String class:
* String#bit_get(offset, ...
hasumikin (hitoshi hasumi)
12:40 PM Ruby Revision 2461caeb (git): [Feature #22118] Introduce Basic Bit Operations into String (#17353)
This patch adds the following methods to String class:
* String#bit_get(offset, lsb_first: true) -> 1 | 0 | nil
* String#bit_set?(offset, lsb_first: true) -> true | false | nil
* String#bit_set(offset, lsb_first: true) -> self
* String#...
hasumikin (hitoshi hasumi)

Also available in: Atom