diff options
author | reduz <reduzio@gmail.com> | 2021-07-01 16:03:37 -0300 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2021-07-01 16:03:37 -0300 |
commit | 379b90fd335ad5b17ed35908d4f68568e49d43d4 (patch) | |
tree | 0d28919235ae6b34ae6cb7101fe4244c5dd595cb /doc/classes/CenterContainer.xml | |
parent | 382ddd497a732812356fccbe9642d86848a4da9d (diff) |
Force String as Dictionary key instead of StringName
* Lua table syntax uses named indexing: `{ mykey = myvalue }`
* Python style syntax uses string indexing: `{ "mykey" : myvalue }`
* Both are incompatible since a StringName key wont fetch a String key, hence confusing.
* This PR proposes always using String for indexing at a very minimal performance cost. Always indexing with StringNames will be faster, but they are considerably more expensive to create.
Diffstat (limited to 'doc/classes/CenterContainer.xml')
0 files changed, 0 insertions, 0 deletions