Issue #9916 has been updated by Hiroshi SHIBATA. Status changed from Open to Assigned ---------------------------------------- Feature #9916: Hide Struct internal https://bugs.ruby-lang.org/issues/9916#change-47703 * Author: Shyouhei Urabe * Status: Assigned * Priority: Normal * Assignee: Shyouhei Urabe * 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/