summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-02-05 14:40:01 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-02-05 14:40:01 +0000
commitba5aa4ffdeb32314a4e1e62345b9a788ad777431 (patch)
tree81352865082b7b567c9d8185de9bfc40bed82aaf /ChangeLog
parent66df6d77ab17511508514afaf687de3e9e175226 (diff)
downloadruby-ba5aa4ffdeb32314a4e1e62345b9a788ad777431.tar.gz
ruby-ba5aa4ffdeb32314a4e1e62345b9a788ad777431.tar.xz
ruby-ba5aa4ffdeb32314a4e1e62345b9a788ad777431.zip
* ruby.h (struct RStruct): embed 3 or less elements structs.
(RSTRUCT_LEN): defined for accessing struct members. (RSTRUCT_PTR): ditto. * struct.c: use RSTRUCT_LEN and RSTRUCT_PTR. (struct_alloc): allocate small structs in embedded format. (rb_struct_init_copy): ditto. * gc.c (gc_mark_children): use RSTRUCT_LEN and RSTRUCT_PTR. (obj_free): ditto. * marshal.c (w_object): use RSTRUCT_LEN and RSTRUCT_PTR. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b96b0a65b..18c229d03 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+Sun Feb 5 23:29:31 2006 Tanaka Akira <akr@m17n.org>
+
+ * ruby.h (struct RStruct): embed 3 or less elements structs.
+ (RSTRUCT_LEN): defined for accessing struct members.
+ (RSTRUCT_PTR): ditto.
+
+ * struct.c: use RSTRUCT_LEN and RSTRUCT_PTR.
+ (struct_alloc): allocate small structs in embedded format.
+ (rb_struct_init_copy): ditto.
+
+ * gc.c (gc_mark_children): use RSTRUCT_LEN and RSTRUCT_PTR.
+ (obj_free): ditto.
+
+ * marshal.c (w_object): use RSTRUCT_LEN and RSTRUCT_PTR.
+
Sun Feb 5 21:01:49 2006 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* numeric.c (fix_to_s): removed workaround for radix 2. Historically,