News for hackers. Stuff that matters.
Re:Is Parallel Programming Hard, and, If So, What Can You Do... by anchovy_ on Wednesday June 14, 2023 @11:37AM (#36327565)
>However, an O(n^3) algorithm will always loose out to an O(n^2*log(n)) algorithm, when the input gets big enough.

Sure, this might be the case from a theoretical point of view (as per definition) but this completely disregards the hidden constants that come to light when actually implementing an algorithm. There's a reason why for instance a state-of-the-art matrix multiplication algorithm [0] can be completely useless in practice: The input data will never become large enough in order to amortize the introduced overhead.

[0] https://arxiv.org/abs/2210.10173

There are no comments on this comment yet.