From 9dc4f48e7a00a2c59f955a4a6cab57ce68a01e4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Mon, 13 Jun 2022 13:16:58 +0200 Subject: [PATCH] =?UTF-8?q?vt:=20tag=20collision-count=20check=20with=20?= =?UTF-8?q?=E2=80=98unlikely=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vt.c b/vt.c index 54fd643c..91f00e6f 100644 --- a/vt.c +++ b/vt.c @@ -753,7 +753,7 @@ action_utf8_print(struct terminal *term, char32_t wc) /* Look for existing combining chain */ while (true) { - if (collision_count > 128) { + if (unlikely(collision_count > 128)) { static bool have_warned = false; if (!have_warned) { have_warned = true;