We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65904e8 commit 7b284d4Copy full SHA for 7b284d4
1 file changed
ext/json/ext/parser/parser.c
@@ -1454,7 +1454,7 @@ static inline void json_value_completed(json_frame *frame)
1454
frame->phase = (enum json_frame_phase) frame->type;
1455
}
1456
1457
-static inline bool json_match_keyword(JSON_ParserState *state, const char *keyword, size_t offset)
+ALWAYS_INLINE(static) bool json_match_keyword(JSON_ParserState *state, const char *keyword, size_t offset)
1458
{
1459
// It is assumed that since `keyword` is always a literal, the compiler is able to constantize this
1460
// `strlen` and several other computations in that routine, such as eliminating the `if (resumable)` branch.
0 commit comments