New issue by tornaria on void-packages repository https://github.com/void-linux/void-packages/issues/34849 Description: Maybe coming from slow arithmetic in sbcl: ``` $ rmaxima Maxima 5.45.1 https://maxima.sourceforge.io using Lisp SBCL 2.1.10 Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. (%i1) showtime : true $ Evaluation took 0.0001 seconds (0.0000 elapsed) using 0 bytes. (%i2) a : 10^(10^5) $ Evaluation took 0.0192 seconds (0.0200 elapsed) using 96.047 KB. (%i3) b : a^10 $ Evaluation took 1.1198 seconds (1.1194 elapsed) using 1023.875 KB. (%i4) b : a^20 $ Evaluation took 4.5570 seconds (4.5607 elapsed) using 2.147 MB. (%i5) ``` Contrast with maxima-ecl: ``` $ rmaxima -l ecl ;;; Loading #P"/usr/lib64/ecl-21.2.1/sb-bsd-sockets.fas" ;;; Loading #P"/usr/lib64/ecl-21.2.1/sockets.fas" Maxima 5.45.1 https://maxima.sourceforge.io using Lisp ECL 21.2.1 Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. (%i1) showtime : true $ Evaluation took 0.0000 seconds (0.0000 elapsed) (%i2) a : 10^(10^5) $ Evaluation took 0.0030 seconds (0.0020 elapsed) (%i3) b : a^10 $ Evaluation took 0.0420 seconds (0.0440 elapsed) (%i4) b : a^20 $ Evaluation took 0.0680 seconds (0.0450 elapsed) (%i5) b : a^40 $ Evaluation took 0.0750 seconds (0.0780 elapsed) (%i6) b : a^80 $ Evaluation took 0.2420 seconds (0.2000 elapsed) (%i7) b : a^160 $ Evaluation took 0.4430 seconds (0.3890 elapsed) (%i8) b : a^320 $ Evaluation took 0.8530 seconds (0.7970 elapsed) (%i9) b : a^640 $ Evaluation took 1.7850 seconds (1.7040 elapsed) (%i10) ) b : a^1280 $ Evaluation took 3.7550 seconds (3.6670 elapsed) (%i11) ``` Note: ecl compiles with gmp so that's probably where the long arithmetic comes from.