Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.4, 5.13.0
-
macOS 10.14.6
-
53bece0812207e52b3368434c8174976b10e2aa8 81ac3bd856e7c6ead21fc2efc34cdf52cd9196b1
Description
Using an enum based switch statement will perform considerably slower than with an integer value based one. When clicking on the button in the example the result will be something like:
loopConstant: 8ms loopVar: 18ms loopEnum: 2381ms
indicating that the enum switch is taking much more time to process than would be expected.