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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7844279822ce7c28 X-Google-Attributes: gid103376,public From: Florian Weimer Subject: Re: Newbie question : types , representation Date: 1999/08/27 Message-ID: <87vha1lyiz.fsf@deneb.cygnus.qad.org>#1/1 X-Deja-AN: 517996086 References: <37C621F3.C6C0DC3A@acenet.com.au> <5oAx3.5359$W5.510061@typhoon-sf.snfc21.pbi.net> Content-Type: text/plain; charset=us-ascii X-Complaints-To: fw@s.netic.de X-Trace: deneb.cygnus.qad.org 935788276 2482 192.168.1.2 (27 Aug 1999 21:11:16 GMT) Organization: Penguin on board Mime-Version: 1.0 User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.4 NNTP-Posting-Date: 27 Aug 1999 21:11:16 GMT Newsgroups: comp.lang.ada Date: 1999-08-27T21:11:16+00:00 List-Id: tmoran@bix.com writes: > From_Base64 : array(Base64, Base64, Base64, Base64) of Byte_Triple; > On my P200, this sort of thing executes at a rate of about 6 Base64 > characters, or 4 Byte's, converted each microsecond. Using a > modern fast CPU you would approach being I/O bound. You are kidding, aren't you? From_Base64 is an array which is at least 48 MB in size. If you're encoding a compressed binary file, there will be a lot of cache misses, which are terribly expensive. And by the time the array has been initialized, other methods will already have finished the conversion.