aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authornari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-26 14:19:10 +0000
committernari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-26 14:19:10 +0000
commite6dcb3b174d6bfaafe623a0e4a8270989e1eca9b (patch)
tree32696853e17050c2a02e96305d6bd70fdb02828b /NEWS
parentbb1d0d280781b6bf0b9798f8603208c2ef8b1459 (diff)
downloadruby-e6dcb3b174d6bfaafe623a0e4a8270989e1eca9b.tar.gz
[DOC] Add NEWS about Symbol GC
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS9
1 files changed, 9 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index b609ef5926..15893540af 100644
--- a/NEWS
+++ b/NEWS
@@ -23,6 +23,9 @@ with all sufficient information, see the ChangeLog file.
* Symbol
* New methods
* Symbol.find(str) returns whether given string is defined as symbol or not.
+ * Improvements
+ * Most symbols in Ruby level are GC-able (generated by String#to_sym and
+ String#intern)
=== Core classes compatibility issues (excluding feature bug fixes)
@@ -89,3 +92,9 @@ with all sufficient information, see the ChangeLog file.
However, weaknesses in hash distribution can no longer be masked
by prime number-sized tables, so extensions may need to tweak
hash functions to ensure good distribution.
+
+* rb_sym2str() added. This is almost same as `rb_id2str(SYM2ID(sym))`
+ but not pinning a dynamic symbol.
+
+* struct RSymbol added. This represents a dynamic symbol as object in
+ Ruby's heaps.