why is this simple function slowing down, then crashing as time goes by

Printable View