File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libcxx/include/__algorithm Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1919// radix of the sorted numbers from low to high byte.
2020// The algorithm uses a temporary buffer of size equal to size of the input range. Each `i`-th pass
2121// of the algorithm sorts values by `i`-th radix and moves values to the temporary buffer (for each even `i`, counted
22- // from zero), or moves them back to the initial range (for each odd `i`). It there is only one radix in sorted integers
23- // (e.g. int8), than sorted values are placed to the buffer, and then moved back to the initial range.
22+ // from zero), or moves them back to the initial range (for each odd `i`). If there is only one radix in sorted integers
23+ // (e.g. int8), the sorted values are placed to the buffer, and then moved back to the initial range.
2424
2525// The implementation also has several optimizations:
2626// - the counters for the counting sort are calculated in one pass for all radices;
You can’t perform that action at this time.
0 commit comments