Skip to content

Commit

Permalink
Merge pull request #1699 from TITC/patch-1
Browse files Browse the repository at this point in the history
Update DoubleArrayTrie.java
  • Loading branch information
hankcs authored Dec 7, 2021
2 parents 6cff689 + d34dab3 commit 2de961b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ private int insert(List<Node> siblings, BitSet used)
resize(pos + 1);

outer:
// 此循环体的目标是找出满足base[begin + a1...an] == 0的n个空闲空间,a1...an是siblings中的n个节点
// 此循环体的目标是找出满足check[begin + a1...an] == 0的n个空闲空间,a1...an是siblings中的n个节点
while (true)
{
pos++;
Expand Down Expand Up @@ -1472,4 +1472,4 @@ private void shrink()
// }
// System.out.println("CheckUsed: " + nonZeroIndex);
// }
}
}

0 comments on commit 2de961b

Please sign in to comment.