]> git.meshlink.io Git - meshlink/commit
Reorganize structs for better packing and access patterns.
authorGuus Sliepen <guus@meshlink.io>
Fri, 19 Jul 2019 16:23:37 +0000 (18:23 +0200)
committerGuus Sliepen <guus@meshlink.io>
Fri, 19 Jul 2019 16:23:37 +0000 (18:23 +0200)
commit3bcd5ec746a5575c0c66f8b34922c038eb363b0a
treef3acfded3af9a7dd253b3773f0d8d1ed30483dbf
parent230b5907e242aa48bb8c8d09450fbd3767e9c24a
Reorganize structs for better packing and access patterns.

Used the pahole tool to find gaps in structs. Move the lesser accessed
members to the end of the struct.
src/connection.h
src/edge.h
src/event.c
src/event.h
src/meshlink_internal.h
src/net.h
src/node.h
src/sptps.h