DescentSet from Permutation
The positions where the word falls.
The statistics Descents and MajorIndex are the size and the sum of this set — which is the reduction worth having: a statistic of a map's output rather than a fresh walk.
Called as CombinatorialMap(x, "DescentSet"). The head's page has its examples.