PuffinPlot issue tracker

Bug: a88/b99

ID : b99844f5-6d4e-4712-8aa7-ded7d88440a5
Short name : a88/b99
Status : fixed
Severity : minor
Assigned :
Reporter : Pontus Lurcock <pont@talvi.net>
Creator : Pontus Lurcock <pont@talvi.net>
Created : Wed, 25 Sep 2013 15:32:56 +0000
Target : 1.03
Summary : Cache (some) lines on equal-area plots [277]

Comment: --------- Comment ---------
ID: 9abaa5d5-ee2b-4a0b-9645-13be44750299
Short name: a88/b99/9ab
From: Pontus Lurcock <pont@talvi.net>
Date: Wed, 25 Sep 2013 15:32:56 +0000

The inefficient method of drawing the lines on the equal-area plots
is producing quite noticeable lag. For every refresh, every line
segment is recalculated from scratch. So, for example, for an A95
confidence interval this means calculating a small circle of Vec3s,
segmenting it in case it crosses the equator, then projecting the
parts onto the plot area. All these operations are computationally
expensive. Projected lines on equal-area plots need to be cached
and only updated at need -- possibly not all of them, but profiling
can identify the worst culprits.

Comment: --------- Comment ---------
ID: ceff0e5f-43ae-46ba-b221-a2dbf29d2135
Short name: a88/b99/cef
From: Pontus Lurcock <pont@talvi.net>
Date: Thu, 26 Sep 2013 13:22:48 +0000

I've now implemented a simple cache for the suite EA plot, which
seems to improve reponsiveness a bit when there are a lot of lines
on it. Sample and suite plots tend to be less busy so I'm leaving them
for now -- can open another bug if they start causing trouble.