Hi,

This is getting a bit hostile for no reason....  Thinking about
alignment gives an interesting solution.

1) Strings are not null-terminated
2) For most strings the alignment gives the VM room to terminate in
place when GetStringChars is called
3) Copy strings that can't be terminated in place.

On average, you'll need to copy 1/<alignment> strings.

Rob.

Reply via email to