General

Profile

samyron (Scott Myron)

  • Login: samyron
  • Registered on: 01/12/2026
  • Last sign in: 01/12/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 0 1

Activity

08/07/2026

07:37 AM Ruby Revision 7e1a7201 (git): [ruby/json] Widen the json_decode_integer fast path to more 64-bit integers.
When this code was refactored in 9c4db31, the mantissa_digits captured
only the length of the mantissa and the negative sign was captured
separately. Additionally, the paths diverged between signed and
unsigned values. However, MAX_FAST_...
samyron (Scott Myron)

07/22/2026

06:53 AM Ruby Revision c8b1a0f6 (git): [ruby/json] Pass '-mno-outline' to the compiler (if supported) to prevent function outlining.
https://github.com/ruby/json/commit/f5fc2454fd samyron (Scott Myron)

07/02/2026

09:24 AM Ruby Revision 7c69f93d (git): [ruby/json] Add a `sort_keys` option to the generator.
Fix: https://github.com/ruby/json/issues/976
https://github.com/ruby/json/commit/ea008e82fe
Co-Authored-By: Jean Boussier <byroot@ruby-lang.org>
samyron (Scott Myron)

06/19/2026

07:30 AM Ruby Revision 4ad44e52 (git): [ruby/json] Update the json_minefield_parser_test.rb to remove JRUBY_PENDING as the new JRuby parser successfully parsed those files.
https://github.com/ruby/json/commit/e954a6fe4e samyron (Scott Myron)

06/05/2026

03:36 PM Ruby Revision 24ce2563 (git): [ruby/json] Reorder the json_frame_type and json_frame_phase enum to simplify the transition from a JSON_PHASE_VALUE to the next phase.
https://github.com/ruby/json/commit/887274e642 samyron (Scott Myron)

04/20/2026

12:56 PM Ruby Revision c568944b (git): [ruby/json] Force ensure_valid_encoding to be inlined.
And move the encoding convertion logic in another function with NOINLINE.
The overwelming majority of strings are correctly encoded, so we
want to inline the very cheap check, however we don't want to
inline the much larger piece of cod...
samyron (Scott Myron)

04/19/2026

02:14 AM Ruby Revision 8f02f644 (git): [ruby/json] Use RB_ENC_CODERANGE to first check the cached coderange before calling rb_enc_str_coderange if the coderange is unknown.
https://github.com/ruby/json/commit/4ef7a45654 samyron (Scott Myron)

02/25/2026

07:24 AM Ruby Revision 9aa3dc6f (git): [ruby/json] Remove unused load_uint8x16_4 function.
https://github.com/ruby/json/commit/93bc1b3838 samyron (Scott Myron)

02/11/2026

03:56 AM Ruby Misc #21833: Switch default hash from SipHash13 to XXH3?
Anonymous wrote in #note-9:
> <snip>
> ...
Thank you for this awesome reply! I learned a lot from it. I do appreciate the thorough explanation of the issue with these multiplication based hash functions.
Note that the [a5hash](http...
samyron (Scott Myron)

01/16/2026

05:52 PM Ruby Revision 456ef914 (git): [ruby/json] Use __builtin_memcpy, if available, to copy overlapping byte ranges in copy_remaining_bytes to avoid a branch to MEMCPY. Additionally use a space as padding byte instead of an 'X' so it can be represented diretly on AArch64 with a single instruction.
https://github.com/ruby/json/commit/643ee11fed samyron (Scott Myron)

Also available in: Atom