From 5edacafcfa36a1fa86a7b5316bacf8c6a2c47227 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 5 Apr 2024 15:35:11 -0300 Subject: Yet another representation for arrays This "linear" representation (see ltable.h for details) has worse locality than cells, but the simpler access code seems to compensate that. --- lobject.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index 169512f8..a70731f7 100644 --- a/lobject.h +++ b/lobject.h @@ -773,15 +773,12 @@ typedef union Node { #define setnorealasize(t) ((t)->flags |= BITRAS) -typedef struct ArrayCell ArrayCell; - - typedef struct Table { CommonHeader; lu_byte flags; /* 1<