Richard Hadsell wrote:
Richard Hadsell wrote:
I made the measurements of the total time it took to add the instantiations to the archive library. I used 'ar q' instead of 'ar r', as suggested. The times are in the form hh:mm:ss.
Method debug release
appending 4 groups 0:43 0:10
appending individually 1:07:24 13:31
That's right -- over an hour for the debug version when appended one instantiation at a time, compared to under a minute when grouped. Since Tru64 Unix is a dead-end platform, I wouldn't spend too much time on this. It's only worth noting in case another compiler does the same thing with its instantiations and doesn't provide its own method for building archive libraries.
I'll make the changes as you suggested. Certainly something to keep in mind for other toolsets. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq