aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2018-08-12 23:26:40 +0200
committerJay Berkenbilt <ejb@ql.org>2018-08-12 23:45:43 +0200
commit3d6615b2764da759c5b9354c40cd1a32b84ee039 (patch)
tree379048c173cf170100f7d88099dd2758be76f124 /ChangeLog
parent48331b4bdc5b63465604a1201a3b66ea8a793d51 (diff)
downloadqpdf-3d6615b2764da759c5b9354c40cd1a32b84ee039.tar.zst
Pl_Buffer: reduce memory growth (fixes #228)
Rather than keeping a list of buffers for every write, accumulate bytes in a single buffer, doubling the size of the buffer when needed to accommodate new data. This is not the best possible implementation, but the change was implemented in this way to avoid changing the shape of Pl_Buffer and thus breaking backward compatibility.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0fa9d10b..7b1f63c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2018-08-12 Jay Berkenbilt <ejb@ql.org>
+
+ * Rewrite the internals of Pl_Buffer to be much more efficient in
+ use of memory at a very slight performance cost. The old
+ implementation could cause memory usage to go out of control for
+ files with large images compressed using the TIFF predictor.
+ Fixes #228.
+
2018-08-05 Jay Berkenbilt <ejb@ql.org>
* Bug fix: end of line characters were not properly handled inside