Recent Snippets

2024-12-27: Peephole optimizations: adding `opt_respond_to` to the Ruby VM, part 4

2024-12-25: The Ruby Syntax Holy Grail: adding `opt_respond_to` to the Ruby VM, part 3

2024-12-23: Finding the compiler: adding `opt_respond_to` to the Ruby VM, part 2

2024-12-22: Adding `opt_respond_to` to the Ruby VM: part 1

2024-12-16: 20 days of ruby gems: part 1

Making Tanstack Table 1000x faster with a 1 line change

A few months back I was working on a Javascript frontend for a large dataset using Tanstack Table. The relevant constraints were: Up to 50k rows of content Grouped by up to 3 columns Using react and virtualized rendering, showing 50k rows was performing well. But when the Tanstack Table grouping …