From: ko1@... Date: 2015-08-12T01:46:00+00:00 Subject: [ruby-core:70344] [Ruby trunk - Feature #11435] [RFC] iseq: implement memsize for wrapper Issue #11435 has been updated by Koichi Sasada. It seems nice. We can also add RUBY_TYPED_WB_PROTECTED. BTW, I can change implementation of ISeq object in future. But now, your patch is reasonable. ---------------------------------------- Feature #11435: [RFC] iseq: implement memsize for wrapper https://bugs.ruby-lang.org/issues/11435#change-53760 * Author: Eric Wong * Status: Open * Priority: Normal * Assignee: ---------------------------------------- I noticed this was disabled in the recent refactoring. This patch implementation seems to return smaller sizes than I expected, so maybe that is the result of improvements and moving data around or likely I missed something. Only lightly checked, I'll check again another day/week or someone else can look at it. ---Files-------------------------------- 0001-iseq-implement-memsize-for-wrapper.patch (5.51 KB) -- https://bugs.ruby-lang.org/