From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,43ab55a75a8b5d1 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!newspeer.monmouth.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.osn.de!diablo2.news.osn.de!noris.net!newsfeed.arcor.de!news.arcor.de!not-for-mail Newsgroups: comp.lang.ada Subject: Re: System.WCh_Cnv From: Georg Bauhaus In-Reply-To: References: <1nbqjel4blzuj$.obwkz78gfdph$.dlg@40tude.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: # Message-ID: <1153836574.7121.5.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Date: Tue, 25 Jul 2006 16:09:34 +0200 NNTP-Posting-Date: 25 Jul 2006 16:06:41 MEST NNTP-Posting-Host: e6eda9b8.newsread2.arcor-online.net X-Trace: DXC=:JdgocRml9@bkXRh2MA`7OQ5U85hF6f;DjW\KbG]kaMHU7^]5?JhlBNgHAGJm4W53EUUng9_FXZ=C>:=P9Ihe`BH@Z?dZ]MOidE X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:5919 Date: 2006-07-25T16:06:41+02:00 List-Id: On Tue, 2006-07-25 at 14:03 +0100, Marius Amado-Alves wrote: > for I in Str'Range loop > if Str (I) = Euro_Sign then ... > end loop; As you implied elsewhere while Has_Element(Str) loop if Element(Str) = Euro_Sign then ... end loop; UTF-anything is an external form for transmission of characters. So yes, perhaps internal Wide_Wide_Character will be well suited. When I tried Containers.Vectors in place of Unbounded_String, the container performance was very good.