aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-11-01 15:42:08 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-11-01 15:42:08 -0300
commit8047b2d03eaaeee44871a11f8d3a3135f2639b1a (patch)
tree2b2d246e2c63ba0accd7c3463a0d331669abe1ef /lobject.h
parentee645472ebe153e2c6669c84a632297a8110bdb6 (diff)
downloadlua-8047b2d03eaaeee44871a11f8d3a3135f2639b1a.tar.gz
lua-8047b2d03eaaeee44871a11f8d3a3135f2639b1a.tar.bz2
lua-8047b2d03eaaeee44871a11f8d3a3135f2639b1a.zip
Tables have a 'lastfree' information only when needed
Only tables with some minimum number of entries in their hash part have a 'lastfree' field, kept in a header before the node vector.
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lobject.h b/lobject.h
index e7f58cbd..74a6fd1e 100644
--- a/lobject.h
+++ b/lobject.h
@@ -744,7 +744,6 @@ typedef struct Table {
744 unsigned int alimit; /* "limit" of 'array' array */ 744 unsigned int alimit; /* "limit" of 'array' array */
745 TValue *array; /* array part */ 745 TValue *array; /* array part */
746 Node *node; 746 Node *node;
747 Node *lastfree; /* any free position is before this position */
748 struct Table *metatable; 747 struct Table *metatable;
749 GCObject *gclist; 748 GCObject *gclist;
750} Table; 749} Table;