Hi all,<br><br>I'm new to GMP and trying to measure the performance of the four integer multiplication algorithms. I tried manually modifying the MUL_KARATSUBA_THRESHOLD MUL_TOOM3_THRESHOLD <br>MUL_FFT_THRESHOLD in the 'gmp-mparam.h' as follows:<br>
<br>#define MUL_KARATSUBA_THRESHOLD 1<br>#define MUL_TOOM3_THRESHOLD 5100<br>....<br>#define MUL_FFT_THRESHOLD 5100<br clear="all"><br>Then, I re-ran the configure and make. I expect it to force using Karatsuba when the sizes of operands are in [1, 5100) in terms of limb. However, the outcome doesn't change accordingly. It's more like that the Karatsuba hasn't been forced to be used throughout the testing range. <br>
<br>Any suggestion is appreciated. Happy belated New Year!<br>-- <br>Best regards,<br><br>Lingchuan Meng<br>