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

Just a few enhancments I assume #13

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

Conversation

meysam81
Copy link

@meysam81 meysam81 commented Feb 1, 2018

Check it out if you like!

@uestla
Copy link
Owner

uestla commented Feb 13, 2018

Thanks for your changes.

Could you please maybe separate them into one commit per one PR? Each of your commits has its own functionality/meaning so it would be helpful to be able to discuss those in separate discussion threads.

Thanks!

@meysam81
Copy link
Author

I checked out and could not find how to to so sir!

…tla#14]

This replaces calling std::vector::at() with direct operator[] access.
It is somehow faster - maybe compiler-related optimization or lack of out-of-range checking when using operator[].
Out-of-range access is prevented thanks to validateCoordinates() method
@uestla
Copy link
Owner

uestla commented Feb 20, 2018

@meysam81 Ideally each functionality/logical change should have its own PR, hence its own branch. Reviewing and discussion will be more effective and well arranged.

@uestla uestla force-pushed the master branch 4 times, most recently from 4e5e867 to 00445f9 Compare February 23, 2018 00:35
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

Successfully merging this pull request may close these issues.

2 participants