cache pseries coeff accesses in pseries::mul_series.
authorRalf Stephan <gtrwst9@gmail.com>
Thu, 31 Dec 2015 15:36:46 +0000 (16:36 +0100)
committerRichard Kreckel <kreckel@ginac.de>
Thu, 31 Dec 2015 15:36:46 +0000 (16:36 +0100)
commit2c8d5b298c5354c32514c4d5e52cfc80e8b32fbd
treeb41695aeb4b70521c7d84deb9cebd83ab76dd102
parent94719f5adbfa69fed0023284811da9d749ddf9f1
cache pseries coeff accesses in pseries::mul_series.

Coeff is too general as long as we have only ints as exponents.
This patch fixes a potentially cubic slowdown.
ginac/pseries.cpp