- Use Native Methods: The small amount of overheads caused by JNI is usually outweighed by the improved speed of the native function
- Use Buffering on I/O Operations:
BufferedInputStream,BufferedOutputStream,BufferedReader,BufferedWriterreduce the number of I/O operations to be performed. - Avoid Creating New Objects: Reuse objects as much as possible. The more objects, the more memory to create/store them.
- Use
StringBufferinstead of String Concatenations
Static
Tips for improving the performane of Java applications
Submitted by cahn on 27 October, 2008 - 1:13pm»
- cahn's blog
- Add new comment
- Read more
- 452 reads
-
What did I say then?
China Everbright in $2.6bn bail-out
Submitted by cahn on 19 August, 2007 - 12:22amChina Everbright in $2.6bn bail-out - China Everbright Bank said it would receive a Rmb20bn ($2.6bn) cash injection from the government as the final round of bail-outs for the country's banking system begins [Financial Times - Asia Pacific]
»
- cahn's blog
- Add new comment
- 122 reads
-
