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,4692663255b51613 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!22g2000prx.googlegroups.com!not-for-mail From: Phil Clayton Newsgroups: comp.lang.ada Subject: Re: on using array index, vectorized operation Date: Sun, 27 Mar 2011 15:59:32 -0700 (PDT) Organization: http://groups.google.com Message-ID: <978a2a5c-1fad-4f8d-88b6-0997e6fad430@22g2000prx.googlegroups.com> References: <5efa3275-a42b-4d97-ac75-428f8cdf895d@j13g2000pro.googlegroups.com> <74980e07-b6d2-42ee-9354-5c2dfd5fdcde@y31g2000prd.googlegroups.com> NNTP-Posting-Host: 91.110.161.61 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1301266773 22658 127.0.0.1 (27 Mar 2011 22:59:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 27 Mar 2011 22:59:33 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 22g2000prx.googlegroups.com; posting-host=91.110.161.61; posting-account=v7gx3AoAAABfjb9m5b7l_Lt2KVEgQBIe User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.1.9) Gecko/20100330 Fedora/3.5.9-1.fc12 Firefox/3.5.9,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:18521 Date: 2011-03-27T15:59:32-07:00 List-Id: On Mar 27, 11:43=A0pm, "Nasser M. Abbasi" wrote: > But it is hard to go back to using explicit loops when one > is used to working with vectorized operations. > > I would also think loops will be slower, because vectorized > operations could be much more optimized by the compiler and such. Something along those lines was discussed not so long ago: http://groups.google.com/group/comp.lang.ada/browse_thread/thread/99210dd26= e04d959# > Any way, no language is perfect. I find the language containing just the word "no" perfect in many situations. Unfortunately, so does my bank. Phil