27.04.2017, 03:11
No, the way you did it is fine, it's proven to be slower but just tried to explain how they work. For the sake of clarity I'd recommend you use the enum you posted just now, that way it will be a bit faster, not much but a bit.