summaryrefslogtreecommitdiff
path: root/.gitmodules
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2015-05-15 13:02:45 +0100
committerRobin Watts <robin.watts@artifex.com>2015-05-15 14:36:13 +0100
commit85330edd0bacfaf9a83b23e828cf84a4028f3c16 (patch)
tree33844e80d1240ed7fe9553d09ea0fc9635793af8 /.gitmodules
parent86f62075afa178b222e6bc0f9fdc79f82d441df0 (diff)
downloadmupdf-85330edd0bacfaf9a83b23e828cf84a4028f3c16.tar.xz
pdf_dict_find optimisation.
When doing pdf_dict_put, we first call pdf_dict_find to hunt for an existing entry we can just update. Recently we introduced a 'location' return from pdf_dict_find that would (in the non-found case) return the location of where such an entry should be inserted. It's just dawned on me that we don't need a separate variable for this. We continue to return negative numbers for 'not found', but these negative numbers can contain the insertion point.
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions