From: Eric Wong Date: 2014-02-26T08:56:43+00:00 Subject: [ruby-core:61101] Re: [ruby-trunk - Feature #9508] Add method coverage and branch coverage metrics sam.rawlins@gmail.com wrote: > Are there examples you had other than those two spots? The macros in compile.c, but then I noticed. something I missed earlier: rb_coverage_struct is always allocated. The reason I wanted rb_coverage_struct to be separate pointer is to save memory since coverage is not a common case, so avoid allocating memory unless coverage is enabled. So what I mean was to do something like this: http://yhbt.net/iseq-coverage.diff