From: shibata.hiroshi@... Date: 2014-07-11T06:57:13+00:00 Subject: [ruby-core:63654] [ruby-trunk - Feature #9916] Hide Struct internal Issue #9916 has been updated by Hiroshi SHIBATA. Assignee set to Shyouhei Urabe ---------------------------------------- Feature #9916: Hide Struct internal https://bugs.ruby-lang.org/issues/9916#change-47702 * Author: Shyouhei Urabe * Status: Open * 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/