mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Update generalized-iteration.md
This commit is contained in:
parent
0e41e56228
commit
c031471260
1 changed files with 2 additions and 0 deletions
|
@ -103,6 +103,8 @@ While the proposed iteration scheme should be a superset to both `pairs` and `ip
|
||||||
|
|
||||||
The resulting iteration behavior, while powerful, increases the divergence between Luau and Lua, making more programs that are written for Luau not runnable in Lua. Luau language in general does not consider this type of compatibility essential, but this is noted for posterity.
|
The resulting iteration behavior, while powerful, increases the divergence between Luau and Lua, making more programs that are written for Luau not runnable in Lua. Luau language in general does not consider this type of compatibility essential, but this is noted for posterity.
|
||||||
|
|
||||||
|
The changes in insertion behavior that facilitate single iteration order may have a small cost; that said, they are currently understood to belong to paths that are already slow and the added cost is minimal.
|
||||||
|
|
||||||
## Alternatives
|
## Alternatives
|
||||||
|
|
||||||
Two other major designs have been considered.
|
Two other major designs have been considered.
|
||||||
|
|
Loading…
Add table
Reference in a new issue