Currently, the line breaking algorithm attempts to use Unicode::GCString to check lengths, but it does this on a per character basis. This also means it instanciates a Unicode::GCString object for each character.
It would be preferable to just use Unicode::LineBreak when it is available.
Currently, the line breaking algorithm attempts to use Unicode::GCString to check lengths, but it does this on a per character basis. This also means it instanciates a Unicode::GCString object for each character.
It would be preferable to just use Unicode::LineBreak when it is available.