This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: Question about compiler-supplied assignment and copy with egcs.



At 04:26 PM 2/24/99 -0800, you wrote:
>> Date: Wed, 24 Feb 1999 06:19:53 -0500
>> To: egcs@egcs.cygnus.com
>> From: Paul Derbyshire <pderbysh@usa.net>
>
>> Q: If egcs is allowed to supply the assignment operator and copy
>> constructor for a "plain old data" type, will they be generally more
>> efficient than user supplied versions?
>
>This is a reasonable assumption.  If it is ever false, I think a
>performance enhancement request is reasonable.

With that in mind, I could probably supply a draft of a working valarray
header that will do as the standard requests and avoid some temporaries
with argument passing and return.

-- 
   .*.  "Clouds are not spheres, mountains are not cones, coastlines are not
-()  <  circles, and bark is not smooth, nor does lightning travel in a
   `*'  straight line."    -------------------------------------------------
        -- B. Mandelbrot  |http://surf.to/pgd.net
_____________________ ____|________     Paul Derbyshire     pderbysh@usa.net
Programmer & Humanist|ICQ: 10423848|