-
Notifications
You must be signed in to change notification settings - Fork 7
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
observe .osrm.nbg_nodes #174
Conversation
…, .e.g. data comes from osrm/osrm-backend
Need to go back to C++ code for internal logic of packed_vector. In general I think the implementation is fine. Will approve soon. |
} | ||
|
||
totalElementsBits := uint64(u.NumOfElements) * uint64(u.bits) | ||
totalPackedBits := uint64(u.PackedMeta * wordBits) |
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.
better to have overflow protection here.
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.
To protect for what?
Issue
What issue is this PR targeting? If there is no issue that addresses the problem, please open a corresponding issue and link it here.
#125
Please read our documentation on release and version management.
If your PR is still work in progress please attach the relevant label.
Tasklist
Requirements / Relations
Link any requirements here. Other pull requests this PR is based on?
.osrm.nbg_nodes
structure doc: https://github.com/Telenav/open-source-spec/blob/master/osrm/doc/osrm-toolchain-files/map.osrm.nbg_nodes.md