~silnrsi/smith/+git/cu2qu-master:never-say-never

Last commit made on 2016-07-30
Get this branch:
git clone -b never-say-never https://git.launchpad.net/~silnrsi/smith/+git/cu2qu-master

Branch merges

Branch information

Name:
never-say-never
Repository:
lp:~silnrsi/smith/+git/cu2qu-master

Recent commits

17b034c... by BehdadEsfahbod

In curves_to_quadratic(), avoid some more work

When a curve fails to convert at a certain n, keep increasing n for
this curve until a fit found. Saves another 7% in the benchmark.

06eb980... by BehdadEsfahbod

Split off case of n=1 into its own function

Looks like changes like this don't have measurable performance
penalty, but they do help with analyzing profile output to see
which branch (n=1 or n!=1) takes more time.

96eb3ba... by BehdadEsfahbod

Add specialization of split_cubic_into_n() for n=6

...by calling split_cubic_into_three() twice. Gives another 5..9%
speedup. The thing is, while higher n values are lower-frequency,
the savings are also bigger. So the two offset out.

6d81100... by BehdadEsfahbod

Add specialization of split_cubic_into_n() for n=4

...by calling split_cubic_into_two() twice. Gives another 5% speedup.

4423527... by BehdadEsfahbod

Remove variable that was used once.

d201c2c... by BehdadEsfahbod

Merge pull request #38 from googlei18n/one-last-optimization

One last optimization

f899c8c... by BehdadEsfahbod

Combine two more loops

Another 10% speedup.

c5a17bb... by BehdadEsfahbod

Shuffle code in cubic_approx_spline() a bit

b305ef4... by BehdadEsfahbod

Another micro-optimization

40ebe85... by BehdadEsfahbod

Move special-cases of split_cubic_into_n() into it

Surprisingly this doesn't seem to slow down, but also slightly
speed up.