[skip ci] Fix grammar (#13105)

Signed-off-by: Bennu <yunmei.li@zilliz.com>
pull/13112/head
Bennu 2021-12-09 19:47:17 +08:00 committed by GitHub
parent 7cb35e4172
commit a2464c860b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ for i -> topk:
topk_results = append(topk_results, choice)
```
This algorithm is originated from the merging phase of merge sort. The common point of the two is that the results have been sorted when merging, and the difference is that merge sort merges two-way results, proxy reduce merges multiple results.
This algorithm is originated from the merging phase of merge sort. The common point of the two is that the results have been sorted when merging, and the difference is that merge sort merges two-way results, proxy reduces merges multiple results.
In contrast, in merge sort, two pointers are used to record the offsets of the two-way results, and proxy reduce uses multiple pointers `locs` to record the offsets of the `k-way` results.