General

Profile

dsh0416 (Delton Ding)

  • Login: dsh0416
  • Registered on: 04/17/2018
  • Last sign in: 04/25/2026

Issues

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

Activity

04/25/2026

04:44 AM Ruby Feature #22011: Hash tables with swiss table
<img style="width: 810px;" src="clipboard-202604251344-sv2ro.png"><br>
The Student T test shows that the performance is almost identical, but the memory consumption is confidently lowered by about 3%.
dsh0416 (Delton Ding)
01:00 AM Ruby Feature #22011: Hash tables with swiss table
The regression got better controlled with the new patch.
![](https://bugs.ruby-lang.org/attachments/download/10199/memory_top_rss_changes.png)
![](https://bugs.ruby-lang.org/attachments/download/10200/time_by_test_violin_interp.png)
![]...
dsh0416 (Delton Ding)

04/24/2026

04:16 PM Ruby Feature #22011: Hash tables with swiss table
From the bench results, we could see some very positive signals in some benches, but it also introduces some regressions, I would try if I could further narrowing down the regressions. dsh0416 (Delton Ding)
03:49 PM Ruby Feature #22011: Hash tables with swiss table
Here are the ruby benches results.
![](https://bugs.ruby-lang.org/attachments/download/10193/time_by_test_violin_interp.png)
![](https://bugs.ruby-lang.org/attachments/download/10194/time_by_test_violin_yjit.png)
| Area | interp | yjit...
dsh0416 (Delton Ding)
05:14 AM Ruby Feature #22011: Hash tables with swiss table
I see that the benchmarks might be affected, since st_numhash/symbol hash path looks like returning constant 128 on bits 25..31, which increases the hash collision, under investigating. dsh0416 (Delton Ding)

04/23/2026

01:34 PM Ruby Feature #22011: Hash tables with swiss table
I found some crash cases, that I need to fix it first. Also, I am running the full ruby-bench against the master branch on linux and windows to see if I've missed anything. dsh0416 (Delton Ding)
10:39 AM Ruby Feature #22011: Hash tables with swiss table
add ruby bench results dsh0416 (Delton Ding)
10:18 AM Ruby Feature #22011: Hash tables with swiss table
fix some regression bugs dsh0416 (Delton Ding)

04/22/2026

12:45 PM Ruby Feature #22011 (Open): Hash tables with swiss table
This change adds a Swiss-table-inspired probing layer to Ruby's core `st_table`, and shrinks `st_table_entry` from 24 B to 16 B by moving the stored hash into a parallel array. It is built and enabled by default; `--disable-swiss-st` rev... dsh0416 (Delton Ding)

12/22/2020

06:27 PM Ruby Revision f1591b38 (git): Add verbose nil in testing
dsh0416 (Delton Ding)

Also available in: Atom