Closed ghostwheel42 closed 3 years ago
In stead of if-else, you could do if-return. That would give a bit of performance, since it returns right away when the condition is met (instead of checking other conditions and then return at the end of the function).
Yes, I know. I’ve decided to stick to the if-else style already present in the existing code, even though this is not the normally used go style. I didn’t want to change too much of the existing code.
LGTM @bkircher any thoughts?
Ja, looks good.
Thanks @ghostwheel42 , @nvthongswansea!
closes #134