From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=BAYES_40,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a37:9e17:0:b0:67e:cd1:c852 with SMTP id h23-20020a379e17000000b0067e0cd1c852mr17949744qke.615.1648028560442; Wed, 23 Mar 2022 02:42:40 -0700 (PDT) X-Received: by 2002:a81:524e:0:b0:2e5:e690:3538 with SMTP id g75-20020a81524e000000b002e5e6903538mr22920642ywb.145.1648028560295; Wed, 23 Mar 2022 02:42:40 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 23 Mar 2022 02:42:40 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=90.63.246.187; posting-account=hya6vwoAAADTA0O27Aq3u6Su3lQKpSMz NNTP-Posting-Host: 90.63.246.187 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <52dec3b7-d1ab-4637-a96e-7bde3cab95f4n@googlegroups.com> Subject: Re: [ANN] UXStrings package available (UXS_20220226). From: "Vincent D." Injection-Date: Wed, 23 Mar 2022 09:42:40 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:63616 List-Id: Le mardi 1 mars 2022 =C3=A0 21:47:51 UTC+1, Blady a =C3=A9crit=C2=A0: > Feedback is welcome on actual use cases.=20 Hello Pascal, Thank you very much for this great improvement over Unbounded Strings ! Sure a short string optimization, such a the one implemented in GNATColl.XS= trings, would be appreciated. As a personnal taste, I would appreciate to have a UXCharacter type that is= a Wide_Wide_Character, and an ASCII_Character, or a Char that is a subtype= of it.=20 I think that the ASCII_String could be a derived type of UXString since it = is a proper subtype, that specializes the UXString to only ASCII Characters= . Some primitive operations can then be overriden to take advantage of the = direct mapping between bytes and characters. Regards, Vincent