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

using typing.h to define LabelType and InnerIdType #71

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

LHT129
Copy link
Collaborator

@LHT129 LHT129 commented Oct 17, 2024

No description provided.

@LHT129 LHT129 added the kind/improvement Code improvements (variable/function renaming, refactoring, etc. ) label Oct 17, 2024
@LHT129 LHT129 self-assigned this Oct 17, 2024
Signed-off-by: LHT129 <tianlan.lht@antgroup.com>
Copy link
Collaborator

@wxyucs wxyucs left a comment

Choose a reason for hiding this comment

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

lgtm

Comment on lines +22 to +23
using InnerIdType = uint32_t; // inner id's type; index's vector count may less than 2^31 - 1
using LabelType = uint64_t; // external id's type
Copy link
Collaborator

Choose a reason for hiding this comment

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

@LHT129 ID type should change to signed integer to avoid type-casting while calling from library interfaces

@LHT129 LHT129 merged commit b3cada2 into antgroup:main Oct 17, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/improvement Code improvements (variable/function renaming, refactoring, etc. ) size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants