Re: To increase speed on manipulating big arrays in Java with minimal bounds checking, ...
- From: "Ingo R. Homann" <ihomann_spam@xxxxxx>
- Date: Wed, 31 Aug 2005 16:23:41 +0200
Hi,
Robert Klemme wrote:
For any finite problem size, O(n) can be worse than O(n^2).
Does the term O(n) make sense for finite problems?
Of course:
Big O is just about asymptotic values.
Yes. But most (or even all?) algorithms are defined to *theoretically* run with an unlimited 'n', although *in practise*, 'n' is always finite, i.e. limited and not 'infinity'.
And, yes, as I said, in practice the overhead may indeed count. :-)
That's it!
Ciao, Ingo
.
- 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: Chris Uppal
- Re: To increase speed on manipulating big arrays in Java with minimal bounds checking, ...
- From: Robert Klemme
- 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: Robert Klemme
- Re: To increase speed on manipulating big arrays in Java with minimal bounds checking, ...
- From: Patricia Shanahan
- Re: To increase speed on manipulating big arrays in Java with minimal bounds checking, ...
- From: Robert Klemme
- 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: Problems with Eclipse 3.0
- 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):