[Kst] extragear/graphics/kst/patches
Barth Netterfield
netterfield at physics.utoronto.ca
Tue Nov 1 01:38:17 CET 2005
How much speed up do you get?
On October 31, 2005 07:22 pm, George Staikos wrote:
> SVN commit 476262 by staikos:
>
> A patch to implement a short-cut interpolation in the hot spots in curve
> plotting. It removes a function call (inlines it) and two branches, one of
> which has a disjunction, neither of which are likely. However it's
> slightly incomplete because it can cause invalid memory accesses if the
> vectors have size == 1 and it tries to plot them.
> The easy solution is to
> plot nothing if one of the vectors has size == 1, but I suspect that's
> undesired.
We need to be able to plot a single x,y point.
But in 'line' mode, I can't see that we would ever need to plot a curve with
only one point in one of the vectors. So we could have two interpolates: one
for w/ lines and one for w/ points.
More information about the Kst
mailing list