From: matz@... Date: 2014-06-18T12:25:28+00:00 Subject: [ruby-core:63222] [ruby-trunk - Feature #9916] Hide Struct internal Issue #9916 has been updated by Yukihiro Matsumoto. Approved. Matz. ---------------------------------------- Feature #9916: Hide Struct internal https://bugs.ruby-lang.org/issues/9916#change-47270 * Author: Shyouhei Urabe * Status: Open * Priority: Normal * Assignee: * Category: core * Target version: current: 2.2.0 ---------------------------------------- is a bit big so I attach the proposal but basically same as my previous proposals. I'd like to make strct RStruct opaque. The benefit is that by hiding its `const VALUE* ptr` part we can optimize GC pressure. That GC tweaks are not included in the attached patch because I prefer compatibility here. But this patch does make things easier. ---Files-------------------------------- opaque-RStruct.patch (6.16 KB) -- https://bugs.ruby-lang.org/