Refactor outline processing
commitc51ec66f516d078b023b8e80664812c6a90edd71
authormalc <moosotc@gmail.com>
Sun, 14 Jan 2018 03:18:16 +0000 (14 06:18 +0300)
committermalc <moosotc@gmail.com>
Sun, 14 Jan 2018 03:18:16 +0000 (14 06:18 +0300)
treec7dd8c05875fa2cf842429886e5a8863caf16d54
parent012a57db2147cbf73f790289b4ca881d60810cee
Refactor outline processing

Avoid redoing outline link resolution. fz_load_outline did the
parsing/lookups/calculations already, so it's just a waste of time.

Speeds up outline processing of "ECMA-376, Second Edition, Part 1 -
Fundamentals And Markup Language Reference.pdf" twofold while removing
13 lines of code.

Outline of aforementioned document contains a bunch of "empty" nodes,
perhaps it's worth finding a away to avoid showing them in the UI or
in fact passing them to the ML part at all?
link.c