Hi folks!
I’m finding myself a bit confused about whether hashes as table keys are ever a good idea. Based on this thread I thought the answer was no, because they don’t work properly in Release builds. But I noticed in the API reference for collectionfactory.create
the example code uses hashes as keys for setting properties, in the function’s returned table, and to look up a specific enemy ID.
Did I misunderstand the linked thread, and hashes are fine to use as keys? Or is that something only Defold’s own APIs can do?
Thanks!