Subject: Re: ucred work
To: Gregory McGarry <g.mcgarry@ieee.org>
From: None <ragge@ludd.luth.se>
List: tech-kern
Date: 11/01/2002 10:31:20
>  
> > Why did you use memcpy() instead of structure assignment in
> > crdup and crcopy?
> 
> I don't like structure assignments.
> 
Structure assignments are good; compilers can use special instructions to
avoid a subroutine call for copying the structure. 

Gcc can even make use of builtin memcpy, but for other compilers 
structure assignments will do the job.

-- Ragge