simon-git: spigot (master): Simon Tatham
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Tue Jan 6 23:41:57 GMT 2015
TL;DR:
bc75efc Implement Generator::ensure_started().
4bace60 Turn get_true_approximant() into get_floor().
f5616c3 Replace 'outmatrix' with a scalar multiplier.
Repository: git://git.tartarus.org/simon/spigot.git
On the web: http://tartarus.org/~simon-git/gitweb/?p=spigot.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2015-01-06 23:41:57
commit bc75efc246533c6206997b262090ec2b14d8c93e
web diff http://tartarus.org/~simon-git/gitweb/?p=spigot.git;a=commitdiff;h=bc75efc246533c6206997b262090ec2b14d8c93e;hp=1f7d01d0dadc9a8d0ed66c249991c2db81f851c3
Author: Simon Tatham <anakin at pobox.com>
Date: Tue Jan 6 19:34:10 2015 +0000
Implement Generator::ensure_started().
One of the calls to iterate_spigot_algorithm in BracketingGenerator
existed solely for its side effect of initialising the underlying
core, which is necessary before attempting to premultiply anything
into it. That's pretty ugly, so I've moved out the mandatory init code
into a separate ensure_started() method and replaced the iterate call
in question with that.
spigot.cpp | 42 +++++++++++++++++++++---------------------
spigot.h | 1 +
2 files changed, 22 insertions(+), 21 deletions(-)
commit 4bace609eb1f6cb156db781251e231150950a8ca
web diff http://tartarus.org/~simon-git/gitweb/?p=spigot.git;a=commitdiff;h=4bace609eb1f6cb156db781251e231150950a8ca;hp=bc75efc246533c6206997b262090ec2b14d8c93e
Author: Simon Tatham <anakin at pobox.com>
Date: Tue Jan 6 19:48:22 2015 +0000
Turn get_true_approximant() into get_floor().
It was only ever used with a denominator of 1, so I've removed the
denominator argument and simplified it right down.
spigot.cpp | 15 ++-------------
spigot.h | 2 +-
unary.cpp | 4 ++--
3 files changed, 5 insertions(+), 16 deletions(-)
commit f5616c3ce97865e16b751bedebcc2b2e5d4ee422
web diff http://tartarus.org/~simon-git/gitweb/?p=spigot.git;a=commitdiff;h=f5616c3ce97865e16b751bedebcc2b2e5d4ee422;hp=4bace609eb1f6cb156db781251e231150950a8ca
Author: Simon Tatham <anakin at pobox.com>
Date: Tue Jan 6 19:49:41 2015 +0000
Replace 'outmatrix' with a scalar multiplier.
In all the places where a non-NULL outmatrix was used, it was only
ever used to multiply by a scalar. And multiplying by a scalar is much
more easily achieved _after_ core->endpoints() returns, rather than
having to plumb an entire spare matrix through to the endpoint
calculations.
arithmetic.cpp | 33 ++++++++------------------------
output.cpp | 10 ++++------
spigot.cpp | 58 +++++++++++++++++++++-----------------------------------
spigot.h | 7 +++----
4 files changed, 37 insertions(+), 71 deletions(-)
More information about the tartarus-commits
mailing list