From 8554cd4a351093222293f33b3fa1e276556499ab Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 29 Aug 2007 02:36:54 +0000 Subject: * include/ruby/st.h (struct st_table): add entries_packed 1-bit bitfield. decrease num_bins 1-bit. * st.c: pack numhash which have 5 or less entries in bins. (st_init_table_with_size): setup entries_packed flag. (st_clear): support packed mode. (st_lookup): ditto. (st_insert): ditto. (st_add_direct): ditto. (st_copy): ditto. (st_delete): ditto. (st_foreach): ditto. (st_reverse_foreach): ditto. (unpack_entries): new function for converting to unpacked mode. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index fcd8be3d9..b5095014f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +Wed Aug 29 11:30:10 2007 Tanaka Akira + + * include/ruby/st.h (struct st_table): add entries_packed 1-bit + bitfield. decrease num_bins 1-bit. + + * st.c: pack numhash which have 5 or less entries in bins. + (st_init_table_with_size): setup entries_packed flag. + (st_clear): support packed mode. + (st_lookup): ditto. + (st_insert): ditto. + (st_add_direct): ditto. + (st_copy): ditto. + (st_delete): ditto. + (st_foreach): ditto. + (st_reverse_foreach): ditto. + (unpack_entries): new function for converting to unpacked mode. + Wed Aug 29 10:46:37 2007 Yukihiro Matsumoto * include/ruby/defines.h (flush_register_windows): call "ta 0x03" -- cgit