summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-01 23:35:55 -0500
committerpommicket <pommicket@gmail.com>2023-01-01 23:35:55 -0500
commit94b241351c7418c2f6a32cc01b889bc48478c50d (patch)
tree6647c7428c82fe2cd8290fc94983e5934ca1b4e2 /command.c
parent4a8dcb2db975a3681ff63518a20ca8afc3137782 (diff)
replace @OPTIMIZE with @TODO
Diffstat (limited to 'command.c')
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index de31ae4..7180921 100644
--- a/command.c
+++ b/command.c
@@ -88,7 +88,7 @@ static CommandName const command_names[] = {
static_assert_if_possible(arr_count(command_names) == CMD_COUNT)
Command command_from_str(char const *str) {
- // @OPTIMIZE: sort command_names, do a binary search
+ // @TODO(optimize): sort command_names, do a binary search
for (int i = 0; i < CMD_COUNT; ++i) {
if (streq(command_names[i].name, str))
return command_names[i].cmd;