The practical complexity of decimal display is very bad (from gforge #12665)
Imported issue: Initially reported by @chevilla in https://gforge.inria.fr/tracker/?group_id=1015&aid=12665
The practical complexity of decimal display in Sollya is particularly bad.
It can be illustrated by the following script, repeated for several values of prec.
prec=45;
display=binary;
a=time(exp(1));
display=decimal;
b=time(exp(1));
print(prec,""\t"",a,""\t"",b) >> ""timings.txt"";
The resulting timings.txt is attached to this bug report. One can see that binary display seems to be approximately linear with respect to the value of prec, while decimal display seems to grow slightly faster than a polynomial in prec.
The fix could be to rewrite sprintValue from scratch.