Re: Object creation overhead
From: Anthony Borla (ajborla_at_bigpond.com)
Date: 11/27/03
- Next message: JBURROWS_at_neo.rr.com: "Creation of a new Java User Group in North East Ohio"
- Previous message: Anthony Borla: "Re: Object creation overhead"
- In reply to: Richard: "Re: Object creation overhead"
- Next in thread: nos: "Re: Object creation overhead"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 27 Nov 2003 01:06:07 GMT
"Richard" <richard@praxistech.com> wrote in message
news:obbxb.31522$oN2.7335@edtnps84...
> Anthony Borla wrote:
>
> >
>
> How about using a primitive like char or char[]?
>
Sure :). However you can use a single 'int' to store data for multiple
fields - how's *that* for space-saving ;) !!!
>
> My main concern was the overhead of the String class, not
> much for a couple of thousand Strings, but now I am
> dealing with upwards of 100,000...
>
> The end result is that this ArrayList is used in a TableModel.
> Looks like I have a lot of re-writing to do that I didn't want.
> Oh well, at least it will perform better...
>
A redesign is often the best cure for ailing performance.
>
> Thank you for your help!
>
A pleasure :) !
Cheers,
Anthony Borla
- Next message: JBURROWS_at_neo.rr.com: "Creation of a new Java User Group in North East Ohio"
- Previous message: Anthony Borla: "Re: Object creation overhead"
- In reply to: Richard: "Re: Object creation overhead"
- Next in thread: nos: "Re: Object creation overhead"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]