Re: To increase speed on manipulating big arrays in Java with minimal bounds checking, ...
- From: "Chris Uppal" <chris.uppal@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 31 Aug 2005 15:23:40 +0100
Patricia Shanahan wrote:
> > > This sort of low level optimisation is not something to be concerned
> > > about.
> >
> >
> > Unless, of course, you are manipulating large amounts of data and the
> > application is running too[*] slow.
>
> and you have investigated the slowness and found that it is due to
> bounds checking.
I think you have misunderstood me. I was talking about the circumstances under
which one would get into that kind of investigation in the first place, not the
circumstances under which one would actually attempt to optimise. As you say,
there's no point in optimising something that isn't actually slowing you
down[*].
([*] Although I should add that quite often the simplest way of measuring the
potential gains from an optimisation is just to try it, or a simplified
version of it)
-- chris
.
- References:
- To increase speed on manipulating big arrays in Java with minimal bounds checking, ...
- From: Casey Hawthorne
- Re: To increase speed on manipulating big arrays in Java with minimal bounds checking, ...
- From: Thomas Hawtin
- Re: To increase speed on manipulating big arrays in Java with minimal bounds checking, ...
- From: Chris Uppal
- Re: To increase speed on manipulating big arrays in Java with minimal bounds checking, ...
- From: Patricia Shanahan
- To increase speed on manipulating big arrays in Java with minimal bounds checking, ...
- Prev by Date: Re: To increase speed on manipulating big arrays in Java with minimal bounds checking, ...
- Next by Date: Re: To increase speed on manipulating big arrays in Java with minimal bounds checking, ...
- Previous by thread: Re: To increase speed on manipulating big arrays in Java with minimal bounds checking, ...
- Next by thread: Re: To increase speed on manipulating big arrays in Java with minimal bounds checking, ...
- Index(es):
Relevant Pages
|
|