J2ME app optimalization
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Lech_Migdal
Posted On:   Saturday, December 21, 2002 01:15 PM

Hi

I need to make a MIDlet, it needs to be fast (woow ;) ), it needs to be small (bigger woow ;) ).


But, well, I need to put some business logic in it, and as I write it, it's size grows and grows. And it's using more and more memory.


And my q is very easy - Do you know some tricks to make J2ME app run smoother / need less memory / etc. ?


regards


Leszek

Re: J2ME app optimalization

Posted By:   Itoyjaved_C  
Posted On:   Tuesday, January 21, 2003 08:45 PM

Hi,

When you talk about optimization u talk about more than one aspect like, optimization in size, optimization in performance etc. One of the important optimization is the physical size optimization, so for that u can use any obuscation and code compaction tool like Retrogaurd, Proguard etc. These tools reduces the jar size. As for programatic practices u can optimize the speed with good "J2ME" programming practices like using StringBuffer instead of string, or if ur developing a game and store the series of canvases in stack to speed up execution. Special care should be taken about creation of object and their usage.

There are many good articles available on this topic.
I hope this answers some part of it though.


Cheers
About | Sitemap | Contact