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

Benchmark v.1.1.2 against v.1.1.1 #5

Open
emilio-berti opened this issue Sep 8, 2024 · 0 comments
Open

Benchmark v.1.1.2 against v.1.1.1 #5

emilio-berti opened this issue Sep 8, 2024 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@emilio-berti
Copy link
Owner

I added an if statement inside neighbous.h that may slow down computations quite a lot:

if (direction == 1) {
ans = ans(1);
} else if (direction == 2) {
ans = ans(3);
} else if (direction == 3) {
ans = ans(2);
} else if (direction == 4) {
ans = ans(0);
}

Test how much this influence speed of enerscape() for large rasters.

@emilio-berti emilio-berti added the documentation Improvements or additions to documentation label Sep 8, 2024
@emilio-berti emilio-berti self-assigned this Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant