summaryrefslogtreecommitdiff
path: root/android/src
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-01-13 19:31:14 +0000
committerRobin Watts <robin.watts@artifex.com>2012-01-13 20:13:09 +0000
commite5213366409d28029cfa137f2c19d6ab4a828c4a (patch)
tree943a09dbf0c30770a638b0c3634a2ccc53f0c009 /android/src
parentb0dd445c76ec8d36648c9f8c9c10b738e963908e (diff)
downloadmupdf-e5213366409d28029cfa137f2c19d6ab4a828c4a.tar.xz
Rework pdf_resolve_indirect to make it idempotent.
pdf_resolve_indirect(x) = pdf_resolve_indirect(pdf_resolve_indirect(x)) now - as long as it doesn't throw an exception. Update the rest of the code to minimise unnecessary function calls. Previously, we were calling one function to find out if an object was a dict, only for that to call a function to see if it needed to resolve the object, then calling another function to actually get the dict, only to have that call the function to check for the dict needing resolving again!
Diffstat (limited to 'android/src')
0 files changed, 0 insertions, 0 deletions