General

Profile

peterzhu2118 (Peter Zhu)

  • Login: peterzhu2118
  • Email: peter@peterzhu.ca
  • Registered on: 08/01/2020
  • Last sign in: 07/12/2025

Issues

open closed Total
Assigned issues 1 30 31
Reported issues 3 75 78

Projects

Project Roles Registered on
Ruby Committer 03/24/2021

Like

Activity

07/21/2025

09:07 PM Ruby Revision 21c78cb0 (git): [DOC] Docs for String#dump
peterzhu2118 (Peter Zhu)
02:58 PM Ruby Revision 5d44f291 (git): Skip garbage check for special consts in concurrent set
rb_objspace_garbage_object_p expects only GC managed objects to be passed
in. We should skip the check if curr_key is...
peterzhu2118 (Peter Zhu)
02:58 PM Ruby Revision 9ef482bd (git): Add rb_concurrent_set_size
peterzhu2118 (Peter Zhu)
02:58 PM Ruby Revision f05ee26a (git): Add rb_concurrent_set_find
peterzhu2118 (Peter Zhu)
02:58 PM Ruby Revision 2bcb155b (git): Convert global symbol table to concurrent set
peterzhu2118 (Peter Zhu)
02:58 PM Ruby Revision a2e165e8 (git): Remove dsymbol_fstr_hash
We don't need to delay the freeing of the fstr for the symbol if we store
the hash of the fstr in the dynamic symbol ...
peterzhu2118 (Peter Zhu)
02:58 PM Ruby Revision efc23224 (git): Don't call cmp on garbage objects
If the object is garbage, then calling cmp on it may crash. peterzhu2118 (Peter Zhu)
02:58 PM Ruby Revision 061224f3 (git): Remove lock for dynamic symbol
Benchmark:
ARGV[0].to_i.times.map do
Ractor.new do
1_000_000.times do |i|
"hello#{i}".to...
peterzhu2118 (Peter Zhu)
02:58 PM Ruby Revision 66349692 (git): Introduce free function to rb_concurrent_set_funcs
If we create a key but don't insert it (due to other Ractor winning the
race), then it would leak memory if we don't ...
peterzhu2118 (Peter Zhu)
02:58 PM Ruby Revision 6b0e5de4 (git): Don't rehash on retry in concurrent set
Since the hash should never change, we only need to calculate it once. peterzhu2118 (Peter Zhu)

Also available in: Atom