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

Replace NonZeroU32 type lookup ids with u32 #90

Merged
merged 6 commits into from
May 10, 2021
Merged

Conversation

ascjones
Copy link
Contributor

@ascjones ascjones commented May 7, 2021

@Robbepop says that this was an unnecessary premature optimization. This simplifies downstream consumers of scale-info because now type lookups into the array are 0 based.

@ascjones ascjones mentioned this pull request May 7, 2021
9 tasks
@ascjones ascjones requested a review from Robbepop May 7, 2021 09:52
Copy link
Contributor

@dvdplm dvdplm left a comment

Choose a reason for hiding this comment

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

lgtm

src/interner.rs Outdated Show resolved Hide resolved
src/interner.rs Outdated Show resolved Hide resolved
ascjones and others added 2 commits May 10, 2021 10:19
@ascjones ascjones merged commit ac731b0 into master May 10, 2021
@ascjones ascjones deleted the aj-untracked-symbol branch May 10, 2021 09:24
@ascjones ascjones mentioned this pull request Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants