Skip to main content

Module table

Module table 

Source
Expand description

Lua table: hybrid array + hash.

Array part uses split tag/payload storage (9 bytes/slot — the Lua 5.5 “compact arrays” layout, bench-validated in benches/value_repr.rs). Hash part is the PUC node layout: main-position chaining with relocation (Brent’s variation), capacity a power of two, rehash sizing per luaH_rehash/computesizes.

Modules§

jit_layout
v2.1 Phase 1I.B — JIT layout constants for table-field IC.

Structs§

Table
Lua table — hybrid array + hash storage, with optional metatable and weak-mode flags.

Enums§

TableError
Errors that table mutation can raise back to the interpreter.