-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
O-windowsOperating system: WindowsOperating system: WindowsT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
EncodeWide iterates over Wtf8CodePoints (which point to a slice of bytes in memory). When the code points expire (no more bytes available in the slice), there is no chance of the iterator ever returning more u16 values. Therefore, EncodeWide should implement FusedIterator.
Metadata
Metadata
Assignees
Labels
O-windowsOperating system: WindowsOperating system: WindowsT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.