From dc48b33e1b37da706e739527c92c52ec8e440dea Mon Sep 17 00:00:00 2001 From: Oldes Date: Fri, 16 Sep 2022 11:06:14 +0200 Subject: [PATCH] FEAT: small code optimization (removing unnecessary SERIES_FULL check) --- src/core/c-word.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/c-word.c b/src/core/c-word.c index 7e4e9976e0..d8278d6a1d 100644 --- a/src/core/c-word.c +++ b/src/core/c-word.c @@ -217,8 +217,7 @@ // If word symbol part of word table is full, expand it: if (SERIES_FULL(PG_Word_Table.series)) { Extend_Series(PG_Word_Table.series, 256); - } - if (SERIES_FULL(Bind_Table)) { + // Bind_Table size must be same like PG_Word_Table.series, so we must extend it as well. Extend_Series(Bind_Table, 256); CLEAR_SERIES(Bind_Table); }