Created attachment 40056
patch to fix performance regression

Here's what I've got so far. On my very slow VM, this renders the paris
bus map reported on the mailing list in ~15.2s, compared to ~60s without
the patch. YX-sorting alone got the time down to ~16.2s. Rendering on
other documents is as fast as ever.

Almost all of the time rendering the bus map is prior to the sort, so
there must still be some quadratic algorithms in there unrelated to
reading order. There is one obvious fix on my list that I didn't
implement (track the first unvisited block, start loops there) but I
don't think this will make much difference for the effort it requires.

I'll be offline until Monday 8 Nov, but I'd be grateful if some more
eyes could look at this to make sure I haven't regressed anything.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/33288

Title:
  Evince doesn't handle columns properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/poppler/+bug/33288/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to