NightOwl888 / ICU4N

International Components for Unicode for .NET
Apache License 2.0
27 stars 7 forks source link

Task: Add ReadOnlySpan<char> as a char sequence type to the T4 templates #54

Closed NightOwl888 closed 1 month ago

NightOwl888 commented 1 year ago

We will need the ReadOnlySpan<char> overloads to optimize utility methods and avoid Substring() calls, which are extremely slow in .NET compared to Java. This requires updating the CodeGenerationSettings.xml file to include them and editing the T4 templates to correctly generate the overloads.

It would be best to wait until #40 is done before working on this task.