Give me all your tricks for minimizing jar file size
Posted on
16th Feb 2014 07:03 pm by
admin
Hi, I'm coming close to releasing my J2ME game... I am kicking up against the 64k size barrier which I have imposed as a maximum size for my game. I would like to add more levels to the game but the only way I can do that Is to make the jar smaller... Oh yeah I have made the decision to NOT have it download any data (maps, etc...) over the internet as well.
I have heard about using preprocessors to get rid of statics and that would make it smaller... Any thoughts, suggestions? Sun one studio 5 ME doesn't seem to support preprocessing... is there any free or cheap IDE that does?
Do any obfuscators do a significantly better job at reducing size than the retroguard one does?
I've tried to eliminate any common code amongst classes and put it in static functions that get called from many places...
I'm wondering about using shorts internally instead of ints... at first I was going with shorts thinking it would be a size savings, but now I'm thinking that all the conversions to ints and back are probably a size loss... anyone know the empirical answer?
If you have any tips to reduce jar size, please respond :)
No comments posted yet
Your Answer:
Login to answer
87
40
Other forums
How to return to a previous page after running a PHP script
I'm having a bit of a melt down here because I think this should be really easy but can't work it ou
parameter passing issue on function
Well I thought I had created a pretty slick web page, using ?page and $_GET to load pages which wher
SCO Unix
I know this might not be the place to ask, but, can anyone tell me if SCO Unix comes with PHP built
cURL and Sessions
Ohai.
So, I'm trying to cURL a bunch of things off of a page, and put them into a session. I'
is_dir() problem
Hello,
I'm buidling a php scripts that dynamically get's subfolders from a specific folder.
SHOW TABLES Help
Hi all
I have the following
Code: [Select]<?php
$sql = "SHOW TABLES&quo
Pagination won't carry results past page 2.
Hi all,
I've worked out my pagination script and its paginating fine until I click next from
How to convert this array to string
I am having problems converting this array to a string
using print_r($val[1]); I get:
Code: [
Reading waves
Hi,
I am trying to find a way of finding the highs and lows on a graph line, the line points
Undefined index: username HELP NEWBIE
I am trying a simple login/logout for my website. It works well with checking if the username exists