[OSC_dev] 4 Byte Padding
Adrian Freed
adrian at cnmat.berkeley.edu
Wed Jan 23 19:25:10 PST 2008
>Sos in these instances, the data is being stored in the original OSC
>message packet similar to storing a struct as a char buffer? So instead
>of typecasting each data parameter, you are just getting the pointer to it?
well typecasting involves no copies either. The key is not to move the data if you don't have to and not to realign at great cost to cache performance.
>
>If so, what happens when you go to 64 bit machines?
Yes, there are now architectures where there is a performance benefit to 64-bit alignment although it will be years before application and OS software catch up to the point where this is an important issue for OSC.
More information about the OSC_dev
mailing list