comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: GNAT vs Matlab - operation on multidimensional complex matrices
Date: Wed, 1 Apr 2020 19:15:43 +0200
Date: 2020-04-01T19:15:43+02:00	[thread overview]
Message-ID: <r62i80$m9g$1@dont-email.me> (raw)
In-Reply-To: <abecb3b8-b74d-46d1-a0e2-27eb5eb8b4ac@googlegroups.com>

Le 01/04/2020 à 18:39, darek a écrit :
> 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  ~320k-400k times per second (depends on the settings,
> and this is for the  simpler 4x4 MIMO). So, even if a single
> allocation cost some microseconds, then the total time is
> substantial.

I still fail to see how using pointers would save you anything... Unless
you are assuming that arrays are passed by copy, which would be
extremely unlikely in your case!

Note: compilers are free to pass arrays by copy or by reference, this is
intended to let them choose the most efficient method.
-- 
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

  reply	other threads:[~2020-04-01 17:15 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-23 23:16 GNAT vs Matlab - operation on multidimensional complex matrices darek
2020-03-24  2:07 ` johnscpg
2020-03-24  6:40 ` J-P. Rosen
2020-03-24  9:37 ` Jeffrey R. Carter
2020-03-24 14:55   ` darek
2020-03-24 15:44 ` johnscpg
2020-03-31 17:25 ` Shark8
2020-03-31 19:20   ` Simon Wright
2020-03-31 19:54     ` Shark8
2020-04-29 21:08     ` vincent.diemunsch
2020-04-01 11:01   ` darek
2020-04-01 15:01     ` J-P. Rosen
2020-04-01 16:39       ` darek
2020-04-01 17:15         ` J-P. Rosen [this message]
2020-03-31 20:05 ` Shark8
2020-03-31 20:51   ` Jeffrey R. Carter
2020-06-08 17:42 ` Shark8
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox