Sage kills itself after a while for inputs > 40bits
Hey!
I implemented Pollard Rho, the first. It takes a few seconds, I would say 30 seconds, for Sage to just get killed. No stack trace. The function works fine with small inputs, but with 40 bits input it just get killed.
if I run it from the command line:
sage application.sage
/Applications/sage/src/bin/sage-python: line 2: 34694 Killed: 9 sage -python "$@"
if I run it from inside Sage:
load("application.sage")
[1] 35646 killed sage
I found the problem:
for i in range(40_bit_number):
weird that I didn't get a stack trace though