view libtommath/tommath_cutoffs.h @ 1900:6110afb6f581

Add release.sh --testrel, github action This makes github actions create a tarball sha256sum for comparison. The release.sh script now works in a git repository too.
author Matt Johnston <matt@ucc.asn.au>
date Thu, 24 Mar 2022 12:22:07 +0800
parents 1051e4eea25a
children
line wrap: on
line source

/* LibTomMath, multiple-precision integer library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
/*
   Current values evaluated on an AMD A8-6600K (64-bit).
   Type "make tune" to optimize them for your machine but
   be aware that it may take a long time. It took 2:30 minutes
   on the aforementioned machine for example.
 */

#define MP_DEFAULT_KARATSUBA_MUL_CUTOFF 80
#define MP_DEFAULT_KARATSUBA_SQR_CUTOFF 120
#define MP_DEFAULT_TOOM_MUL_CUTOFF      350
#define MP_DEFAULT_TOOM_SQR_CUTOFF      400