Closed GER-Space closed 5 years ago
The dictionary is cleared for each time its accesed, also converting a part to a key value for a dictionanry is very slow. part.persistentId would be faster to use. (its unique as long the part exists)
Thanks for this, I'll also check other dicts for similar behavior.
I don't think this is actually a problem for optimisation. The dictionary is only used for voxelization which:
The dictionary is cleared for each time its accesed, also converting a part to a key value for a dictionanry is very slow. part.persistentId would be faster to use. (its unique as long the part exists)