class RDF::Util::Cache::WeakRefCache

This implementation uses the ‘WeakRef` class from Ruby’s standard library, and provides adequate performance on JRuby and on Ruby 3.x.

@see ruby-doc.org/stdlib-2.2.0/libdoc/weakref/rdoc/WeakRef.html