[#60404] is RB_GC_GUARD needed in rb_io_syswrite? — Eric Wong <normalperson@...>
I haven't gotten it to crash as-is, but it seems like we need to
4 messages
2014/02/01
[#60682] volatile usages — Eric Wong <normalperson@...>
Hi all, I went ahead and removed some use of volatile which were once
5 messages
2014/02/13
[#60794] [RFC] rearrange+pack vtm and time_object structs — Eric Wong <normalperson@...>
Extracted from addendum on top of Feature #9362 (cache-aligned objects).
4 messages
2014/02/16
[#61139] [ruby-trunk - Feature #9577] [Open] [PATCH] benchmark/driver.rb: align columns in text output — normalperson@...
Issue #9577 has been reported by Eric Wong.
3 messages
2014/02/28
[ruby-core:60834] [ruby-trunk - misc #9188] r43870 make benchmark/bm_so_k_nucleotide.rb slow
From:
normalperson@...
Date:
2014-02-18 20:32:50 UTC
List:
ruby-core #60834
Issue #9188 has been updated by Eric Wong. Eric Wong <normalperson@yhbt.net> wrote: > The design is based on st, but uses linked-list of cache-sized arrays > for chaining, so it's as if each bucket is an st-packed array. Fwiw, I don't think this is a good design for our internal data structures. I'll experiment with others in a few weeks/months where the lookup node is embedded in the struct itself. It would use offsetof (via container_of macro) to get back the original object, meaning we avoid extra pointer chasing. This won't be good for things which use VALUEs as keys, but probably good for method tables. I'm not sure if we can/should change hash.c and its st.c usage, yet, due to public API compatibility. ---------------------------------------- misc #9188: r43870 make benchmark/bm_so_k_nucleotide.rb slow https://bugs.ruby-lang.org/issues/9188#change-45249 * Author: Narihiro Nakamura * Status: Closed * Priority: Normal * Assignee: Aman Gupta * Category: core * Target version: 2.1.0 ---------------------------------------- Hi. I think r43870 make benchmark/bm_so_k_nucleotide.rb slow. r43870 % time ./miniruby ./benchmark/bm_so_k_nucleotide.rb ./miniruby ./benchmark/bm_so_k_nucleotide.rb 1.70s user 0.01s system 99% cpu 1.718 total r43869 % time ./miniruby ./benchmark/bm_so_k_nucleotide.rb ./miniruby ./benchmark/bm_so_k_nucleotide.rb 1.52s user 0.03s system 99% cpu 1.559 total -- http://bugs.ruby-lang.org/