From 186fee40b44e7c8cc6589197a03ce80149b1cbec Mon Sep 17 00:00:00 2001 From: Pedro Gonnet <gonnet@google.com> Date: Sat, 17 Dec 2016 13:27:35 +0100 Subject: [PATCH] align cell_buff to 32 bytes, makes swapping more efficient at the cost of four more bytes. --- src/cell.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cell.h b/src/cell.h index b223c839a0..984ef4bc20 100644 --- a/src/cell.h +++ b/src/cell.h @@ -56,7 +56,7 @@ extern int cell_next_tag; struct cell_buff { double x[3]; int ind; -}; +} SWIFT_STRUCT_ALIGN; /* Mini struct to link cells to tasks. Used as a linked list. */ struct link { -- GitLab