]> granicus.if.org Git - graphviz/commit
make 'solve1' and 'solve2' static functions
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 19 Dec 2021 21:46:44 +0000 (13:46 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 23 Dec 2021 01:04:36 +0000 (17:04 -0800)
commitf2b057a33b9c1c943e73ec007e2f59429b94090a
tree0781b75b09502c42ee9457c6053b6f1c01868a33
parentb45b733a27dbad2019046c107a975ef8df144768
make 'solve1' and 'solve2' static functions

As of 9550d5dae1a487617a8910b1b496ffd12c78a546, these functions are no longer
exported or needed outside of solvers.c. `solve3` has occasionally been a
hotspot for performance-constrained Graphviz use cases. So making it more
obvious to the compiler that it can inline and/or specialize `solve1` and
`solve2` may provide some speed up.
lib/pathplan/solvers.c
lib/pathplan/solvers.h