From f3f9212c7c5c811abf74b16044f82a2198f99888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Mon, 9 Sep 2024 07:21:29 +0200 Subject: [PATCH] term: don't pack the outer struct, in the row struct This appears to improve performance, back to the levels in the master branch. The struct is now 24 bytes, which is still a reduction of 25%, down from 32 bytes. Initial benchmarks suggest we're at the same performance levels as the master branch on all vtetest tests, and actually somewhat faster on some of the scroll tests. --- terminal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.h b/terminal.h index f0c0a669..5a6381a1 100644 --- a/terminal.h +++ b/terminal.h @@ -167,7 +167,7 @@ struct row { bool dirty; bool linebreak; -} __attribute__((packed)); +}; struct sixel { /*