Static

Tips for improving the performane of Java applications

  1. Use Native Methods: The small amount of overheads caused by JNI is usually outweighed by the improved speed of the native function
  2. Use Buffering on I/O Operations: BufferedInputStream, BufferedOutputStream, BufferedReader, BufferedWriter reduce the number of I/O operations to be performed.
  3. Avoid Creating New Objects: Reuse objects as much as possible. The more objects, the more memory to create/store them.
  4. Use StringBuffer instead of String Concatenations

What did I say then?

US regulators to split research and banking | FT (3 years 14 weeks ago):

You know, I understand the logic behind the separation of research and investment banking. I also...

Syndicate content
Theme provided by Danang Probo Sayekti.