Contestcen@aol.com wrote:
OTOH, strings must be aligned at least to `Integer' size. (Accessing the Capacity and Length fields requires alignment on some platforms and is at least more efficient on others; accessing the characters can also be more efficient when aligned.) Does your preprocessor take care of this?
Whether you choose to align the length field on an integer-size boundary or not is a decision you could make based on a time versus space trade-off.
Unless you don't want to crash your program on some platforms ...
The macros that I have written happen to store the strings with no gaps at all, and do not do any alignment.
So they're not suitable for portable programs.
If you decided that for your application and platform aligning the strings was better,
Not better, necessary!
At least you got the quoting right this time. :-)
There is no "right" way to do quoting. Different people have different preferences. I simply followed the style that is used in this particular forum.
RTF Netiquette!
Frank