commonmark / cmark

CommonMark parsing and rendering library and program in C
Other
1.62k stars 539 forks source link

Shrink struct cmark_node #446

Closed nwellnhof closed 2 years ago

nwellnhof commented 2 years ago

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.