summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorJean Boussier <byroot@ruby-lang.org>2022-02-18 12:54:42 +0100
committerJean Boussier <jean.boussier@gmail.com>2023-02-23 16:01:57 +0100
commit2a5354e59324cb296a423c73ec15ff9191086964 (patch)
tree4f05a09a431ee431f1312eef8eb23da4cab7e23a /NEWS.md
parent9406245dbcaa324ce9ff0aae0f28b64beacc0836 (diff)
downloadruby-2a5354e59324cb296a423c73ec15ff9191086964.tar.gz
Implement ObjectSpace::WeakKeyMap basic allocator
[Feature #18498]
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md6
1 files changed, 6 insertions, 0 deletions
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.