The Artima Developer Community
Sponsored Link

Java Answers Forum
need for Efficiency tips

2 replies on 1 page. Most recent reply: Sep 11, 2003 11:58 PM by Tan Wan

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Tan Wan

Posts: 2
Nickname: z059579a
Registered: Aug, 2003

need for Efficiency tips Posted: Sep 10, 2003 1:58 AM
Reply to this message Reply
Advertisement
I guess efficiency refers to about run-time, compile-time, and memory usage.

I am wondering whether there are some easy tricks for efficiency:
I am really new, forgive me if i am wrong.

-using static variables, methods //contradicts the idea of objects
-final classes, final methods
-declare a local rather than a global variable, if the variable is only needed locally
-something about imports

Thanx in advance


Senthoorkumaran Punniamoorthy

Posts: 335
Nickname: senthoor
Registered: Mar, 2002

Re: need for Efficiency tips Posted: Sep 10, 2003 8:37 PM
Reply to this message Reply
May be you want to visit this site.

http://www.javaperformancetuning.com/

Also check out this book

http://www.amazon.com/exec/obidos/tg/detail/-/0201310058/qid=1063251257/sr=8-1/ref=sr_8_1/102-6230637-7112940?v=glance&s=books&n=507846

Tan Wan

Posts: 2
Nickname: z059579a
Registered: Aug, 2003

Re: need for Efficiency tips Posted: Sep 11, 2003 11:58 PM
Reply to this message Reply
thanx

Flat View: This topic has 2 replies on 1 page
Topic: Can any body help me......... Previous Topic   Next Topic Topic: Test a new site with psychedelic applets!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use