Issue #641 has been updated by Yusuke Endoh.

Status changed from Assigned to Rejected
Assignee changed from Yukihiro Matsumoto to Narihiro Nakamura

Hello,

I'm rejecting this feature ticket because no progress has been made
for a long time.  See [ruby-core:42391].



Nari, are you willing to treat this ticket?  If you are, please
reopen this.  Maybe because lazy sweeping was imported, the patch
does not work now and it seems not to be trivial to fix it.

-- 
Yusuke Endoh <mame / tsg.ne.jp>
----------------------------------------
Feature #641: GC patch to cache the most recent heap for is_pointer_to_heap
https://bugs.ruby-lang.org/issues/641

Author: Roger Pack
Status: Rejected
Priority: Normal
Assignee: Narihiro Nakamura
Category: core
Target version: 2.0.0


=begin
 This patch seems benign and speeds up gc a bit.
 In a completely contrived test [meant to hammer the GC]:
 
 require 'benchmark'
 require 'pp'
 a = []
 1_000_000.times { a << [3] }
 pp Benchmark.measure { 33.times { GC.start }}
 
 speed went from 
  @real=1.99618101119995,
 
 to
  @real=1.75,
 
 [I think Hongli does something similar with bit field lookups].  A similar patch might work for 1.8.6
 Thanks!
=end



-- 
http://bugs.ruby-lang.org/