C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !






Tips to make the Applet code simpler


Posted Date: 31 May 2008    Resource Type: Tips    Category: Web Development
Author: PravynMember Level: Silver    
Rating: Points: 3



1. Use compiler optimization: javac -O But check it the size anyway.
Sometime it makes the code bigger..
2. Use jar files instead of class files
3. Try to use inheritance as much as possible: than more code you can
reuse than less new lines you have to add.
4. Try to use standard APIs. Often they are better optimized in size
than some private exotic packages. Of course often they have better
methods and so on but try to use efficiently what we have already!
5. Use short names.
6. Do not initialize big arrays because. They will be initialized and
put directly into bytecode. You can do it later on the fly




Responses

Author: Kumar Velu    01 Jun 2008Member Level: Diamond   Points : 2
nice..


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Automatic Memory Management and Garbage Collection
Previous Resource: Some Shortcut which will help you on XP box
Return to Discussion Resource Index
Post New Resource
Category: Web Development


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use