Re: To increase speed on manipulating big arrays in Java with minimal bounds checking, ...
- From: Thomas Hawtin <usenet@xxxxxxxxxxxxxxxxx>
- Date: Wed, 31 Aug 2005 14:33:10 +0100
Chris Uppal wrote:
Thomas Hawtin 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.
Which is a perfectly reasonable scenario.
I'd start at oprimisations that reduce the amount of data involved and accesses to it, rather than focus on some kind of made up worries.
Tom Hawtin
> ([*] for any of several possible values of "too", eg:
> - three times slower than the legacy application we are trying to replace.
> - it takes a week to run, but we need to run it once per day.
> - it takes 120 millisecs to run, but I need to refresh the frame 25
> times/second.
> - it takes several hours to run, so any significant speedup would be useful
> - ...
> )
I'm not seeing how array bounds checking comes into this. This kind of optimisation is handled by the runtime.
--
Unemployed English Java programmer
http://jroller.com/page/tackline/
.
- 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
- To increase speed on manipulating big arrays in Java with minimal bounds checking, ...
- Prev by Date: Re: Yet Another Web Application Mess...
- Next by Date: Re: Yet Another Web Application Mess...
- 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):