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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a37:8847:: with SMTP id k68mr11098880qkd.474.1585759167574; Wed, 01 Apr 2020 09:39:27 -0700 (PDT) X-Received: by 2002:a05:6830:1159:: with SMTP id x25mr5741491otq.110.1585759167069; Wed, 01 Apr 2020 09:39:27 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!feeder1.feed.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!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, 1 Apr 2020 09:39:26 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=2001:1c00:c1d:4b00:b997:f7a4:d434:f994; posting-account=-iT6ZQoAAAAlqBCInAc-vB6x1soT8Jhq NNTP-Posting-Host: 2001:1c00:c1d:4b00:b997:f7a4:d434:f994 References: <6c2c0e35-af07-4169-8be5-464ec7fd0fd5@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: GNAT vs Matlab - operation on multidimensional complex matrices From: darek Injection-Date: Wed, 01 Apr 2020 16:39:27 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:58274 Date: 2020-04-01T09:39:26-07:00 List-Id: Hi Jean-Pierre,=20 No, I did not evaluate it. This how I look at it:some of the functions (i.= e. FFT) (that have some local complex arrays inside), I need to call ~320= k-400k times per second (depends on the settings, and this is for the simp= ler 4x4 MIMO). So, even if a single allocation cost some microseconds, then= the total time is substantial.=20 The development of the code is in an early stage, and I do (almost) everyth= ing to avoid using C :) :) in this project (just kidding).=20 Regards, Darek=20 On Wednesday, 1 April 2020 17:01:12 UTC+2, J-P. Rosen wrote: > Le 01/04/2020 =C3=A0 13:01, darek a =C3=A9crit : > > Thanks for all your posts. At this moment I use the access types to > > avoid an overhead associated with allocation, and initialization of > > these arrays >=20 > Could you elaborate on this? Did you measure? Normally, accessing a > statically allocated array is faster... >=20 > --=20 > J-P. Rosen > Adalog > 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX > Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 > http://www.adalog.fr