comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Child vs nested package : efficiency matter
Date: Sat, 29 May 2010 14:56:53 +0200
Date: 2010-05-29T14:56:53+02:00	[thread overview]
Message-ID: <op.vdgww3flxmjfy8@garhos> (raw)

Hillo,


For some reasons, I've turned some nested package -- packages nested in  
the body of package -- into a set of child packages instead.

I've noticed the application's execution time is now an average of 125% of  
that of the old implementation.

The implementation did not changed otherwise and is still the same.

What can make invokation of subprograms slower when the subprograms are in  
a child package rather than in a nested package ?

Note: this is with optimization enabled -- with -O -- and both old and new  
implementation was compiled with the same options.

I can't explain that and can't imagine a reason why. That's a mystery to  
me.



             reply	other threads:[~2010-05-29 12:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-29 12:56 Yannick Duchêne (Hibou57) [this message]
2010-05-30  1:17 ` Child vs nested package : efficiency matter BrianG
2010-06-01 15:03 ` Adam Beneschan
2010-06-01 15:34   ` Yannick Duchêne (Hibou57)
2010-06-01 15:38     ` Adam Beneschan
2010-06-01 19:04     ` Simon Wright
2010-06-01 19:11       ` Yannick Duchêne (Hibou57)
2010-06-02 11:11         ` -gnatN breakage was: " Alex R. Mosteo
2010-06-02 14:39           ` Vadim Godunko
2010-06-02 16:45             ` Georg Bauhaus
2010-06-02 16:50               ` Yannick Duchêne (Hibou57)
2010-06-02 20:35               ` Vadim Godunko
2010-06-01 18:35 ` Adam Beneschan
2010-06-01 19:09   ` Yannick Duchêne (Hibou57)
2010-06-01 19:44     ` Adam Beneschan
2010-06-01 19:56       ` Yannick Duchêne (Hibou57)
2010-06-02  1:38     ` BrianG
replies disabled

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