General

Profile

hasumikin (hitoshi hasumi)

  • Login: hasumikin
  • Registered on: 06/20/2019
  • Last sign in: 11/16/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 6 5 11

Activity

11/14/2026

05:41 AM Ruby Feature #22279: Region (Length / Range) Arguments for String Bit Operations
@nobu Thank you for pointing that out. I fixed it by using rb_bool_expected in https://github.com/ruby/ruby/pull/19880
Please check the patch when you have time
hasumikin (hitoshi hasumi)
04:23 AM Ruby Feature #22482: String#bit_index, a bit search for String bit operations
Thank you for the acceptance. Before the merge, I want to narrow one point of the contract: the `bit` argument accepts only `0` and `1`, and no longer `true` and `false`.
### Reason: negative logic
`0` and `1` are the values of a b...
hasumikin (hitoshi hasumi)
03:58 AM Ruby Feature #22549 (Open): String#bit_put, the writer for the region form of String#bit_get
PR: (WIP)
This is a reply to the request of Matz for a writer that corresponds to `bit_get` (#22483#note-6). The main question is a value that is wider than the region, and the section after the contracts compares the two answers.
...
hasumikin (hitoshi hasumi)

11/13/2026

08:52 AM Ruby Feature #22483: Region forms of String#bit_get
> could you propose bit_put in a separate ticket, including the behavior when the value does not fit in the region? I'd like to settle it before the release.
Thank you, I will do it in a few days
hasumikin (hitoshi hasumi)
05:21 AM Ruby Feature #22483: Region forms of String#bit_get
@mame
As already noted in this ticket, I believe `bit_put` is the appropriate counterpart to `bit_get`. In my view, `bit_set` should remain as it is.
Regarding `bit_put`, I decided not to include it in the current proposal because of a...
hasumikin (hitoshi hasumi)

11/06/2026

05:39 AM Ruby Misc #22417: DevMeeting-2026-11-12
- [Feature #22482] String#bit_index, a bit search for String bit operations (hasumikin)
- This is an alternative feature to #22399 and #22405
- Is the addition of this new method, as well as its name and arguments, acceptable?
- [...
hasumikin (hitoshi hasumi)

10/29/2026

12:06 AM Ruby Feature #22483 (Open): Region forms of String#bit_get
PR: https://github.com/ruby/ruby/pull/19749
This ticket completes the region arguments of #22279 for `bit_get`. #22279 added the `(offset, length)` and `range` forms to `bit_set`, `bit_clear`, `bit_flip` and `bit_count`, and the commi...
hasumikin (hitoshi hasumi)
12:01 AM Ruby Feature #22482 (Open): String#bit_index, a bit search for String bit operations
PR: https://github.com/ruby/ruby/pull/19750
This is a reply to the comment of Matz in #22399#note-3. It replaces the seven methods of #22399 and #22405 with one search method. The deferred methods can be written on top of it in Ruby, ...
hasumikin (hitoshi hasumi)

10/26/2026

03:44 PM Ruby Revision f2f9b556 (git): [ruby/prism] Let an embedder set PM_CONSTANT_POOL_MIN_CAPACITY
The constant pool starts at source size / 120 entries, 4 at the least,
and doubles at a load of 3/4; each outgrown pair of arrays stays in the
metadata arena. An embedder that interns a fixed set of names into the
pool at every parse (mr...
hasumikin (hitoshi hasumi)
03:43 PM Ruby Revision ab52c6ab (git): [ruby/prism] Include sys/types.h before inttypes.h again, for newlib
61ebe5123 made defines.h include <sys/types.h> ahead of <inttypes.h>:
with an arm-none-eabi toolchain whose <stdint.h> is GCC's own, newlib's
<inttypes.h> never sees the marker it tests before defining the 64-bit
PRI macros, and PRIu64 g...
hasumikin (hitoshi hasumi)

Also available in: Atom