util.set: :items() now returns an iterator instead of the underlying table. This...
authorMatthew Wild <mwild1@gmail.com>
Tue, 3 Sep 2013 11:21:43 +0000 (12:21 +0100)
committerMatthew Wild <mwild1@gmail.com>
Tue, 3 Sep 2013 11:21:43 +0000 (12:21 +0100)
commit21167704ce1a9b2dce3d33af230e37e2a7c967f8
treeb905e1e6ed0f821ff95ff3de3381e5c8f5a2355a
parentd1895b8557764bbbec945dc2e7dd1dff6764f85b
util.set: :items() now returns an iterator instead of the underlying table. This is much more efficient than 'for item in set' (which still works for now). Current access to _items is generally done directly, this may change.
util/set.lua