]> www.ginac.de Git - ginac.git/commit
refactor gcd() a little bit (no functional changes).
authorAlexei Sheplyakov <varg@theor.jinr.ru>
Mon, 25 Aug 2008 12:54:10 +0000 (16:54 +0400)
committerJens Vollinga <jensv@nikhef.nl>
Wed, 27 Aug 2008 14:22:59 +0000 (16:22 +0200)
commit77b6a0304a48d6a306deeda18177680f16025b33
tree97e777bfe45d605dfcc192f105520cd311415fc9
parent7d7131d3af3de5425b7fe80b1f587740294371bc
refactor gcd() a little bit (no functional changes).

GiNaC tries to avoid expanding expressions while computing GCDs and applies
a number of heuristics. Usually this improves performance, but in some cases
it doesn't. Allow user to switch off heuristics.

Part 4:

refactor gcd() a little bit, so subsequent patch(es) won't be so big and ugly.
ginac/normal.cpp