[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Why is nil not a valid table key?
- From: XIX <krissd@...>
- Date: Sat, 26 Nov 2005 13:06:49 +0000
Ending tables on nil seems sensible, what better terminator could there be. It's just that it would be nice to have something else to plug table holes and keep iterators going. False being my initial not thought about very much at all choice. False would still mean the same as nil just a bit more assertive about its existence when it comes to gc.
If false and nil where separated like this how much of your code do you think it would break? I suspect it wouldn't actually cause me too much pain, on the lua side anyway the c side might be more problematic.
http://XIXs.com -><- http://www.WetGenes.com