diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2023-08-07 13:11:59 -0400 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-08-16 17:47:32 -0700 |
| commit | 9b952670bb4945ea227a72dd9b74ef5972a69757 (patch) | |
| tree | e858e78afaea4526da86830d09c220528d4a214a /coroutine/asyncify | |
| parent | 96aebb42652c8a2dde0e33d45316da64d26be566 (diff) | |
[ruby/yarp] Less const_get
Right now whenever you go to create a Ruby object from a C struct
we dynamically look up the constants. This is not great for
performance. Now instead we template out a constant for each VALUE
that holds the classes, and then directly reference it.
https://github.com/ruby/yarp/commit/f4756cda77
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8226
Diffstat (limited to 'coroutine/asyncify')
0 files changed, 0 insertions, 0 deletions
