|
From: | Emanuel Berg |
Subject: | Re: [OFF TOPIC] Algorithms (was: Re: Too fine design granularity leads to numerous macro/function/command existed in Emacs.) |
Date: | Fri, 13 Aug 2021 15:26:12 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Yuri Khan wrote: > The advice is sound. Asymptotically, sorting in order to > extract one longest (maximum, best) element is like firing > a cannon at sparrows: sorting requires O(N*log(N)) > comparisons but a single maximum value can be found in just > O(N). -1 -- underground experts united https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |