Skip to content

EncodeWide should implement FusedIterator #96368

Closed
@AronParker

Description

@AronParker

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: WindowsT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions