mrkn / pycall.rb

Calling Python functions from the Ruby language
MIT License
1.06k stars 75 forks source link

Use ObjectSpace::WeakMap in wrapper cache table #78

Closed mrkn closed 3 years ago

mrkn commented 5 years ago

Deprecation of object_id and _id2ref features is discussed in [Feature #15408].

ObjectSpace::WeakMap can be used for implementing wrapper cache, so I think I should move to this to drop the use of object_id and _id2ref.