788
789// isSeparator reports whether the rune could mark a word boundary.
790▶// TODO: update when package unicode captures more of the properties.
791func isSeparator(r rune) bool {
792 // ASCII alphanumerics and underscore are not separators
· · ·
1389 // Experiments (using IndexPeriodic) suggest
1390 // the cutover is about 16 byte skips.
1391▶ // TODO: if large prefixes of sep are matching
1392 // we should cutover at even larger average skips,
1393 // because Equal becomes that much more expensive.