[Info-vax] SAMBA really sloooow on OVMS Integrity. Any Ideas????
Bob Koehler
koehler at eisner.nospam.encompasserve.org
Wed Aug 18 18:10:34 EDT 2010
In article <ebqdndZbSPxxrPHRnZ2dnUVZ_umdnZ2d at giganews.com>, "Richard B. Gilbert" <rgilbert88 at comcast.net> writes:
>
> Usually, alignment errors have to be forced or something like that. The
> compilers will align everything properly unless the programmer
> deliberately creates a data structure with non-aligned components.
> There may, occasionally, be good reason to do something like this but I
> can't think of one and I think best practice is to avoid it like the plague!
You do it because you have to interface to an external data stream
where the data is not aligned. And then you do it as little as
possible by copying to/from an aligned structure.
More information about the Info-vax
mailing list