summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2022-12-15 17:53:55 +0900
committerKoichi Sasada <ko1@atdot.net>2022-12-16 10:04:37 +0900
commitae19ac5b5ba1e613a788addeb6d4d67fa65f6518 (patch)
treea431cdff5e73e1b48edb1a2f0b30578162736e68 /NEWS.md
parent15b60bb1a48b98e2ba267c88551803df5f88355e (diff)
downloadruby-ae19ac5b5ba1e613a788addeb6d4d67fa65f6518.tar.gz
fixed encoding table
This reduces global lock acquiring for reading. https://bugs.ruby-lang.org/issues/18949
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index cfce94774b..4ff67f802c 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -202,6 +202,8 @@ Note: We're only listing outstanding class updates.
try to dynamically guess the endian based on a byte order mark.
Use `Encoding::UTF_16BE`/`UTF_16LE` and `Encoding::UTF_32BE`/`UTF_32LE` instead.
This change speeds up getting the encoding of a String. [[Feature #18949]]
+ * Limit maximum encoding set size by 256.
+ If exceeding maximum size, `EncodingError` will be raised. [[Feature #18949]]
* Enumerator