how do you make java programs faster?
This is just a general question. I was wondering how you can make programs compile and run quicker? Does it have to do with the primative type you use or what?
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
ibm.com has an article about how to make java programs faster ... I dont remember the page address ... but you can search ibm for java.
nanosani
Unauthenticated Liar
1,830 posts since Jul 2004
Reputation Points: 45
Solved Threads: 56
hello everyone,
I once did this with the awt class in which i developed a small program in C++ and an exact clone of it in Java (functionality wise). I also developed another program in C++ to act as a benchmark thus testing seeing how fast each program responds to anything.
All the java functions were done in different threads including its click events
It seems that the Java is faster than C++ ranging from 330ms-390ms for all functionalities.
This was done years ago.........
I don't even know where the C++ benchmark program or it source codes are anymore
I am not sure about swing as i only tested for awt
Yours Sincerely
Richard West
freesoft_2000
Practically a Master Poster
623 posts since Jun 2004
Reputation Points: 25
Solved Threads: 10
nanosani
Unauthenticated Liar
1,830 posts since Jul 2004
Reputation Points: 45
Solved Threads: 56