summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-write.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2015-03-13 17:09:29 +0000
committerRobin Watts <robin.watts@artifex.com>2015-03-24 19:50:01 +0000
commit33c49228d078cc963ac5e59e526c97d2fd50a01f (patch)
tree233e29c78e497ca3b4d90bb3ea03ab846b61fbc6 /source/pdf/pdf-write.c
parent5f161e45d5daacb696d02b8fad23d0c23f5bc8bc (diff)
downloadmupdf-33c49228d078cc963ac5e59e526c97d2fd50a01f.tar.xz
Path packing for memory efficiency.
Introduce the concept of 'packed' paths. These reduce the header overhead for most common paths (ones with less than 256 commands and 256 coords) to a single 32bit int once stored in the display list. The previous commit reduces the torture-test.pdf from 95 to 87Meg. This commit futher reduces it to 70Meg.
Diffstat (limited to 'source/pdf/pdf-write.c')
0 files changed, 0 insertions, 0 deletions