Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code optimization (slight) #6

Open
35359595 opened this issue Feb 9, 2017 · 1 comment
Open

code optimization (slight) #6

35359595 opened this issue Feb 9, 2017 · 1 comment

Comments

@35359595
Copy link

35359595 commented Feb 9, 2017

replace the mode verification to this

else if (mode == 2 || mode == 3) {

the result is the same, but in this case second part will not be checked if first returned true (mode == 2)

@biji
Copy link
Owner

biji commented Feb 11, 2017

Please open pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants