summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-20 14:56:07 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-20 14:56:07 +0000
commitfcec6b5c0d72288aebce9b18e25e6e92772a2eb8 (patch)
tree3ab94fdf5dc00b22847fdb80f8651504cd56227b /ChangeLog
parent5aea2ad18c622cfa5bb53f1d94e058ac7fc41ad3 (diff)
* PStore content update perf optimization. Patch by Masaki Matsushita.
See #5248. * lib/pstore.rb (save_data): * Delete inadequate Marshal check. * Deferred file truncation: when writing the new content, truncate the saved file to the data size after writing the data, instead of truncating whole bytes before writing data. * Deferred MD5 calculation: when comparing MD5 hash to check the content modification, calculate MD5 hash of new data iif the content length is differ from the old one. * Compare content size with String#bytesize instead of String#size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog19
1 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 666f8edc2b..0cc1414929 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+Tue Dec 20 23:50:12 2011 Hiroshi Nakamura <nahi@ruby-lang.org>
+
+ * PStore content update perf optimization. Patch by Masaki Matsushita.
+ See #5248.
+
+ * lib/pstore.rb (save_data):
+
+ * Delete inadequate Marshal check.
+
+ * Deferred file truncation: when writing the new content, truncate
+ the saved file to the data size after writing the data, instead of
+ truncating whole bytes before writing data.
+
+ * Deferred MD5 calculation: when comparing MD5 hash to check the
+ content modification, calculate MD5 hash of new data iif the
+ content length is differ from the old one.
+
+ * Compare content size with String#bytesize instead of String#size.
+
Tue Dec 20 21:00:30 2011 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_core.c: uses to_integer instead.