Casting Pointers
Michael A. Bloom
mab at bnl.UUCP
Sun Jan 29 17:03:31 AEST 1984
To avoid flames: yes, I know what I am doing is non-
portable. I am not trying to write portable code. I am
trying to write a fast copy for a 68000. I have checked
that the pointers are really word-aligned.
If this is the case, then you dont want casts. I've noticed (while using
adb) that using casts generates calls to routines that will perform type
conversion, rather than the inline code you might expect.
Michael Bloom
--
Michael A. Bloom ..!bnl!mab or mcb at mit-mc.arpa or mab at bnl
More information about the Comp.lang.c
mailing list