|
It seems reasonable. Roberto thank you a lot :-)
regards,
Xavier Wang
> i'm studying lua's implement now, i'm wondering why lua's table need a
> dummy node, why not just set node to NULL if table's hash part is empty?
> could someone tell me the reason?
It avoids an extra test (t->node == NULL) when querying tables.
-- Roberto