summaryrefslogtreecommitdiff
path: root/doc/ChangeLog-1.9.3
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 /doc/ChangeLog-1.9.3
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 'doc/ChangeLog-1.9.3')
0 files changed, 0 insertions, 0 deletions