Skip to content

Shrink struct cmark_node#446

Merged
jgm merged 1 commit intocommonmark:masterfrom
nwellnhof:shrink-node-struct
Jul 20, 2022
Merged

Shrink struct cmark_node#446
jgm merged 1 commit intocommonmark:masterfrom
nwellnhof:shrink-node-struct

Conversation

@nwellnhof
Copy link
Contributor

The internal_offset member is only used for headings and can be moved
to struct cmark_heading. This reduces the size of struct cmark_node
from 112 to 104 bytes on 64-bit systems.

The internal_offset member is only used for headings and can be moved to struct cmark_heading. This reduces the size of struct cmark_node from 112 to 104 bytes on 64-bit systems.
@jgm jgm merged commit ead4c0b into commonmark:master Jul 20, 2022
@nwellnhof nwellnhof deleted the shrink-node-struct branch March 25, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants