def main (): f = ECMFactoriser() f.set_time_bound(TIME_BOUND) curves = 1000000 f.set_number_of_curves(curves) generic_factoring_test(TEST_SET_FILEPATH, BASE_RESULTS_PATH + "curves_" + str(curves) + ".txt", f)
def curve_factoring_test (): f = ECMFactoriser() f.set_time_bound(TIME_BOUND) for curves in [10**i for i in range(7)]: f.set_number_of_curves(curves) generic_factoring_test(TEST_SET_FILEPATH, BASE_RESULTS_PATH + "curves_" + str(curves) + ".txt", f)