General

Profile

tekknolagi (Maxwell Bernstein)

Issues

open closed Total
Assigned issues 4 41 45
Reported issues 0 2 2

Projects

Project Roles Registered on
Ruby Committer 06/06/2025

Activity

04/08/2026

02:34 PM Ruby Feature #21982: Add `Decimal` as a core numeric class
Oh, gotcha. Yeah we would not be able to optimize C code. Maybe one day it will motivate a pure Ruby impl but today is not that day. tekknolagi (Maxwell Bernstein)

04/07/2026

06:57 PM Ruby Feature #21695: Optimizing Ruby performance with Ruby itself instead of Rust
I am curious about this gem and will give it a read over if you post the link here. tekknolagi (Maxwell Bernstein)
06:48 PM Ruby Feature #21982: Add `Decimal` as a core numeric class
I am hopeful that in the medium-long term, ZJIT will be able to "see through" and even elide general Ruby object allocations when possible. We have some more cleanup and feature work before that becomes possible (for example, a function ... tekknolagi (Maxwell Bernstein)

03/21/2026

12:11 AM Ruby Revision e69e6333 (git): ZJIT: Clean up getivar specialization code (#16475)
Add reusable helpers for getting fields, making C calls, etc. De-indent a bunch of stuff. tekknolagi (Maxwell Bernstein)

03/20/2026

11:35 PM Ruby Revision f55d9e19 (git): ZJIT: Add codegen for ArrayMax (#16411)
Implements codegen for `ArrayMax` (opt_newarray_max) by calling the `rb_vm_opt_newarray_max` VM helper, following the same pattern as `ArrayHash` and `ArrayInclude`. tekknolagi (Maxwell Bernstein)
08:38 PM Ruby Revision 88363342 (git): ZJIT: Halve metadata memory usage (#16414)
* Use sparse sorted Vec for IseqProfile instead of dense pre-allocated Vecs
Replace the two dense Vec fields (opnd_types and num_profiles) that were
pre-allocated to iseq_size for every ISEQ with a single sorted
Vec<(u32, ProfileEntry)>...
tekknolagi (Maxwell Bernstein)

03/19/2026

06:50 PM Ruby Revision 8a579ae1 (git): ZJIT: Clean up run_pass with macro identifier matching (#16459)
Thanks, Alan. tekknolagi (Maxwell Bernstein)

03/10/2026

07:53 PM Ruby Revision 3fa74bff (git): ZJIT: Only emit IncrCounter instructions in stats mode (#16330)
* ZJIT: Only emit IncrCounter instructions in stats mode
This cleans up a lot of HIR output when we're not explicitly measuring
counters. They don't generate code when not in stats mode so they are
just HIR clutter.
* ZJIT: Enable stat...
tekknolagi (Maxwell Bernstein)

03/06/2026

05:33 PM Ruby Revision 980bc396 (git): ZJIT: Count LoadField and StoreField executions (#16318)
## Runtime Counters on lobsters (before/after Jacob's load-store opt)
| Stat | Before | After | Delta |
|------|--------|-------|-------|
| load_field_count | 110,410,542 | 106,547,275 | -3,863,267 (-3.5%) |
| store_field_count | 9,196,...
tekknolagi (Maxwell Bernstein)

03/04/2026

09:18 PM Ruby Revision 6ea811e6 (git): ZJIT: Add for_each_operand methods to Insn (#16305)
- Add `for_each_operand`, `for_each_operand_mut`, and `try_for_each_operand` methods to `Insn`, backed by a shared `for_each_operand_impl!` macro
- Replace the old `worklist_traverse_single_insn` function on `Function` with direct use of...
tekknolagi (Maxwell Bernstein)

Also available in: Atom