diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2016-12-17 05:14:49 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-01-23 21:52:44 +0100 |
| commit | 2020b1c8a88fc4f0c0dd788261deb06ee0c670a7 (patch) | |
| tree | cc5f7077160fddb5e67ece6beda38c7533047dc9 /lib/command.c | |
| parent | ab037159286a3241244a6b3e7d1033e3940aa944 (diff) | |
lib: parser: keep subgraph pointers on stack
There's no need to malloc() these, we can just keep them on the stack.
The entire struct will get copied around, but replacing a 2-pointer copy
with a 1-pointer copy + malloc + free overhead is not quite efficient.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions
