Changshin Lee wrote:
> Paul Sandoz wrote:
>
>> Changshin Lee wrote:
>>
>>> Hi,
>>>
>>> I just finished a very very simple MIDP application using FIME and
>>> packaged it to upload my phone, Nokia 6230. The size of the package
>>> is around 150k (I guess StAX ME 40k + FIME 100k + Application 10k),
>>> and unfortunately the phone doesn't allow it to be installed due to
>>> its limit of 128k.
>>>
>>> OK, so now the war (die hard for a diet) began :-)
>>>
>>
>> For the demo you could remove the FI encoding algorithm
>> implementations these probably eat up a lot of unused code.
>
>
> You mean classes in algorithm package?
>
I mean the implementations of BuiltInEncodingAlgorithm. I dunno what the
size of classes are though.
>>
>> What is the size of the XMLChar.class and DecoderStateTables.class
>> when using the '-g:none' flag?
>
>
> I successfully removed XMLChar and saved 4kb :-) Now FIME is 116 kb.
Wow nearly a third. That is one huge class.
> (StAX ME is 44kb). DecoderStateTables is 8kb.
>
Ah, that is good, I thought it would be more.
Paul.
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109