Преглед изворни кода

Removed comment about Lua arrays as dictionaries

Since Lua 5.0 tables actually uses contiguous arrays when possible but hides this from the user. See page 2 of http://www.lua.org/doc/jucs05.pdf
Kadoba пре 9 година
родитељ
комит
fc405cd807
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      reference/gdscript_more_efficiently.rst

+ 2 - 2
reference/gdscript_more_efficiently.rst

@@ -238,8 +238,8 @@ only on limited form).
 Dictionaries can map any value to any other value with complete
 Dictionaries can map any value to any other value with complete
 disregard for the datatype used as either key or value. Contrary to
 disregard for the datatype used as either key or value. Contrary to
 popular belief, they are very efficient because they can be implemented
 popular belief, they are very efficient because they can be implemented
-with hash tables. They are, in fact, so efficient that languages such as
-Lua will go as far as implementing arrays as dictionaries.
+with hash tables. They are, in fact, so efficient that some languages
+will go as far as implementing arrays as dictionaries.
 
 
 Example of Dictionary:
 Example of Dictionary: