begin refactor of gl side

Rewrite prune to use graphs rather than O(n²) searches

(0) -100 -30 -10 -2 +2 +10 +30 +100 tip

mercurial