fix(algos): refactor extrema circular buffer
This commit is contained in:
parent
5fd49dfb1e
commit
3c949f3da3
4 changed files with 2 additions and 18 deletions
|
|
@ -201,11 +201,6 @@
|
|||
<div class="code" data-file="monotonic.cpp"></div>
|
||||
<h3>further improvements</h3>
|
||||
<ol>
|
||||
<li>
|
||||
While the final approach is <i>theoretically</i> faster than the
|
||||
second, with small data sets the overhead of the latter is
|
||||
likely to upset any performance gains.
|
||||
</li>
|
||||
<li>
|
||||
The class could leverage templates to take in a comparator
|
||||
<span><code>std::less<double></code></span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue