diff options
author | charliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-05 04:49:16 +0000 |
---|---|---|
committer | charliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-05 04:49:16 +0000 |
commit | 6fd900007616801f4c8adcc0228fe06bd6f1f873 (patch) | |
tree | 56c09166a8ac25e195f9c14f493579a16be90904 /ChangeLog | |
parent | 301cb9ca993347ee0f78719f7e01ddb8c16927f5 (diff) | |
download | ruby-6fd900007616801f4c8adcc0228fe06bd6f1f873.tar.gz |
* include/ruby/ruby.h: add RSTRING_FSTR flag
* internal.h: add rb_fstring() prototype
* parse.y (str_suffix_gen): deduplicate frozen string literals
* string.c (rb_fstring): deduplicate frozen string literals
* string.c (rb_str_free): delete fstrings from frozen_strings table when
they are GC'd
* string.c (Init_String): initialize frozen_strings table
* test/ruby/test_string.rb: test frozen strings are deduplicated
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,3 +1,20 @@ +Thu Sep 5 13:49:00 2013 Charlie Somerville <charliesome@ruby-lang.org> + + * include/ruby/ruby.h: add RSTRING_FSTR flag + + * internal.h: add rb_fstring() prototype + + * parse.y (str_suffix_gen): deduplicate frozen string literals + + * string.c (rb_fstring): deduplicate frozen string literals + + * string.c (rb_str_free): delete fstrings from frozen_strings table when + they are GC'd + + * string.c (Init_String): initialize frozen_strings table + + * test/ruby/test_string.rb: test frozen strings are deduplicated + Thu Sep 5 12:48:00 2013 Kenta Murata <mrkn@cookpad.com> * configure.in (with_gmp): set with_gmp no if it is empty. |