diff options
author | pommicket <pommicket@gmail.com> | 2023-01-01 23:35:55 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-01 23:35:55 -0500 |
commit | 94b241351c7418c2f6a32cc01b889bc48478c50d (patch) | |
tree | 6647c7428c82fe2cd8290fc94983e5934ca1b4e2 /command.c | |
parent | 4a8dcb2db975a3681ff63518a20ca8afc3137782 (diff) |
replace @OPTIMIZE with @TODO
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |