]> git.draconx.ca Git - cdecl99.git/commitdiff
cdecl99: Simplify main command output.
authorNick Bowler <nbowler@draconx.ca>
Fri, 12 Jan 2024 05:27:09 +0000 (00:27 -0500)
committerNick Bowler <nbowler@draconx.ca>
Fri, 12 Jan 2024 05:38:35 +0000 (00:38 -0500)
When the separate command functions were merged everything was combined
into one relatively complex printf call.  Profiling on GNU/Linux showed
a surprising amount of time spent printing.

Restructure the code to just print the two cases separately.  The result
is easier to understand, compiles to less code, and is slightly faster,
so what's not to like?


No differences found