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

observe .osrm.nbg_nodes #174

Merged
merged 9 commits into from
Feb 20, 2020
Merged

Conversation

wangyoucao577
Copy link

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

@wangyoucao577 wangyoucao577 added this to the Sprint 59(Dev:02/25) milestone Feb 14, 2020
@wangyoucao577 wangyoucao577 linked an issue Feb 14, 2020 that may be closed by this pull request
@wangyoucao577 wangyoucao577 added Prototype Proof of concept Research Read paper/issue/code for better understanding labels Feb 14, 2020
@wangyoucao577 wangyoucao577 self-assigned this Feb 17, 2020
@CodeBear801
Copy link

CodeBear801 commented Feb 19, 2020

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)

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.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To protect for what?

@wangyoucao577 wangyoucao577 merged commit 8fa9d4e into master-telenav Feb 20, 2020
@wangyoucao577 wangyoucao577 deleted the feature/observe-nbg_nodes branch February 20, 2020 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prototype Proof of concept Research Read paper/issue/code for better understanding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Understand xxx.osrm.nbg_nodes file structure and contents
2 participants