comp.lang.ada
 help / color / mirror / Atom feed
From: darek <darek.maksimiuk@gmail.com>
Subject: Re: GNAT vs Matlab - operation on multidimensional complex matrices
Date: Wed, 1 Apr 2020 09:39:26 -0700 (PDT)
Date: 2020-04-01T09:39:26-07:00	[thread overview]
Message-ID: <abecb3b8-b74d-46d1-a0e2-27eb5eb8b4ac@googlegroups.com> (raw)
In-Reply-To: <r62abk$k5r$1@dont-email.me>

Hi Jean-Pierre, 
 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. 

The development of the code is in an early stage, and I do (almost) everything to avoid using C :) :)  in this project (just kidding). 

Regards,
   Darek 


On Wednesday, 1 April 2020 17:01:12 UTC+2, J-P. Rosen  wrote:
> Le 01/04/2020 à 13:01, darek a écrit :
> > 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
> 
> Could you elaborate on this? Did you measure? Normally, accessing a
> statically allocated array is faster...
> 
> -- 
> 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 16:39 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 [this message]
2020-04-01 17:15         ` J-P. Rosen
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