]> granicus.if.org Git - graphviz/commit
smyrna: remove a level of indirection in the grid column array
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Nov 2022 02:59:19 +0000 (19:59 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 10 Nov 2022 03:50:53 +0000 (19:50 -0800)
commitb0d68a29cfc31a91d59464fc7f352cbf3e5945ed
tree71b3c7163b3c1654c12d4da6914d0fe3cd7e3ffa
parent2e565a54e66129a65e8431a4b8bc24ac44c9bbf8
smyrna: remove a level of indirection in the grid column array

The pointers of this array are never captured, so we can use an array of values
here instead. This reduces heap allocation and fragmentation.
cmd/smyrna/tvnodes.c