Java/C: Code running longer and longer
Posted on 2008-06-16
I am puzzled with this so I post to get explainations. I have Java and C code on Linux machine. I found that the Java code cost more and more time. It is the same for the C code. I wrote this C code about one month ago and did not touch it since then. Today I run it and found the running time got doubled. I used clock() to measure time.
How can this code run with longer time? or why do they become slow?
Thanks for any replies.