The patch for bug #181169 implements the line-break:anywhere feature using a NonSharedCharacterBreakIterator, which may have a considerable impact on performance. One option to reduce the impact of this new feature could be using a shared Text iterator, instead.