Closed kkebo closed 9 months ago
The following computed properties call computed properties of Unicode.Scalar.Properties.
Unicode.Scalar.Properties
However, those computed properties call a computed property _binaryProperties, and it calls _swift_stdlib_getBinaryProperties. It contains unneeded code for an HTML tokenizer.
_binaryProperties
_swift_stdlib_getBinaryProperties
https://github.com/apple/swift/blob/98e65d015979c7b5a58a6ecf2d8598a6f7c85794/stdlib/public/stubs/Unicode/UnicodeScalarProps.cpp#L32
So I decided to avoid Unicode.Scalar.Properties.
The following computed properties call computed properties of
Unicode.Scalar.Properties
.However, those computed properties call a computed property
_binaryProperties
, and it calls_swift_stdlib_getBinaryProperties
. It contains unneeded code for an HTML tokenizer.https://github.com/apple/swift/blob/98e65d015979c7b5a58a6ecf2d8598a6f7c85794/stdlib/public/stubs/Unicode/UnicodeScalarProps.cpp#L32
So I decided to avoid
Unicode.Scalar.Properties
.