From 2a5354e59324cb296a423c73ec15ff9191086964 Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Fri, 18 Feb 2022 12:54:42 +0100 Subject: Implement ObjectSpace::WeakKeyMap basic allocator [Feature #18498] --- NEWS.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'NEWS.md') diff --git a/NEWS.md b/NEWS.md index 55925c6dcf..e655d615f4 100644 --- a/NEWS.md +++ b/NEWS.md @@ -20,6 +20,12 @@ Note: We're only listing outstanding class updates. * `String#unpack` now raises ArgumentError for unknown directives. [[Bug #19150]] * `String#bytesplice` now accepts new arguments index/length or range of the source string to be copied. [[Feature #19314]] +* ObjectSpace::WeakKeyMap + + * New core class to build collections with weak references. + The class use equality semantic to lookup keys like a regular hash, + but it doesn't hold strong references on the keys. [[Feature #18498]] + ## Stdlib updates The following default gems are updated. -- cgit v1.2.3