This Ada library provides utilities for Unicode character strings of dynamic length.
It is now available on Alire in version 0.9.3.
Changes:
- Add a fifth implementation: Unicode_Character_Array (i.e.Wide_Wide_String) is chosen for internal representation. Characters are stored as Wide_Wide_Characters equivalent to Unicode. Memory management is done with dynamic allocation.
Note: Iteration is Ada 2022 native. - Several fixes on string bound issues and enforce low index to 1
- Change internal File_Type to an access type
So far in UXStrings, its API are similar to those of the strings Ada standard libraries. If you find some missing, bring your proposals on Github.
The library provides five different implementations selectable with GPR options UXS1, UXS2, UXS3, UXS4 and UXS5. The performance of each of them is described here.
NB: UXS5 is now the default implementation.