Make the parsing table structure static
authorLukas Jiriste <ljiriste@student.42prague.com>
Fri, 2 Aug 2024 16:51:44 +0000 (18:51 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Fri, 2 Aug 2024 16:51:44 +0000 (18:51 +0200)
commit8d6959f58d6d783ce3a7e4b600b54cc9cc9b241a
tree38235911d536d26c83dcf981191e9db06ccb7164
parent804b8c1e57d4073c5e06a32116a170f3ebdfbdb6
Make the parsing table structure static

This makes it a little more memory and CPU friendly, because the table
doesn't need to be reallocated and parsed from the text form every
command. The downside itt needs to be cleared at the end of the program.
src/main.c
src/parsing.c