Hacker News new | ask | show | jobs
by drivebyhooting 9 days ago
Why bother with dynamic padding and a back pointer? That wastes at least 8 bytes.

You might as well always align to 8 bytes and make your header a multiple of 8.

1 comments

The back pointer could also be a 1 byte number giving the size of the padding.