Changes between Version 5 and Version 6 of documentation/LuaManual/ProxyTables

Show
Ignore:
Author:
gambini (IP: 75.131.38.166)
Timestamp:
06/24/12 05:41:59 (5 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • documentation/LuaManual/ProxyTables

    v5 v6  
    33 
    44== Why == 
    5 The Lua language is fairly simple. It does not have an iterator metamethod like it does for some other operations. Because of this, __pairs and __ipairs are pseudo-metamethods that exist for proxy tables. It is a tradeoff of performance for being a little less flexible. However, since Lua's ''foreach'' is being depreciated, there is almost no reason to not use ''ipairs'' or ''pairs''. 
     5The Lua language is fairly simple. It does not have an iterator metamethod like it does for some other operations. Because of this, `__pairs` and `__ipairs` are pseudo-metamethods that exist for proxy tables. It is a tradeoff of performance for being a little less flexible. However, since Lua's ''foreach'' is being depreciated, there is almost no reason to not use ''ipairs'' or ''pairs''. 
    66 
    77== List of proxy tables ==