-
Notifications
You must be signed in to change notification settings - Fork 126
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
[Kraken] set nb_nearest_vertices to -1 #3039
[Kraken] set nb_nearest_vertices to -1 #3039
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So next time if we have a longer street we set it to 100
?
@kinnou02 I set this magic number to -1 so that flann will find all nodes inside 500 meters for walking and bike mode, the change didn't impact a lot the performance during my benchmark. But it did impact like 10% for car mode |
20ee89e
to
2572595
Compare
Artemis OK! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a fine change, and the trade-off on perfs vs. quality is OK 👍
This little is due to these tickets: https://jira.kisio.org/browse/NAVITIAII-2950 https://jira.kisio.org/browse/NAVITIAII-2956
The projection was wrong because this number is big enough. In order not to impact the performance, we use 50.