Skip to content

Commit

Permalink
Remove outdated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Validark committed Jul 2, 2022
1 parent d1b2eea commit 4997b24
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions c#/PruningRadixTrie/PruningRadixTrie.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,6 @@ public override String ToString()
// `data[--len]` with default(T).
static class BoundedDEPQ<T>
{
// public static T popMaxBasic(T[] data, ref int len) => data[--len];

// I tried filling the array from right to left so we avoid shifting nodes
// right for the first `k` push operations but for some reason it was slower :/

public static T heapPopMax(T[] data, ref int len, IComparer<T> cmp, T replacement)
{
if (len <= 1) return replacement; // If the length is 0 or 1, there's no resifting to do
Expand Down

0 comments on commit 4997b24

Please sign in to comment.