src: make the options structs smaller with packed bits · nodejs/node@1039041 · GitHub
Skip to content

Commit 1039041

Browse files
committed
src: make the options structs smaller with packed bits
While the Options objects are not a significant overhead, they still waste a few hundred bytes due to sloppy definition and alignment issues. Tighten it up and shave off a couple hundred wasted bytes. Signed-off-by: James M Snell <jasnell@gmail.com>
1 parent a876a12 commit 1039041

4 files changed

Lines changed: 417 additions & 346 deletions

File tree

‎src/node_options-inl.h‎

Lines changed: 20 additions & 11 deletions

0 commit comments

Comments
 (0)