Skip to content

Comments

perf(syntax): use NonZeroU32 for SymbolId and ReferenceId#3970

Merged
Boshen merged 1 commit intomainfrom
non-zero-u32
Jun 29, 2024
Merged

perf(syntax): use NonZeroU32 for SymbolId and ReferenceId#3970
Boshen merged 1 commit intomainfrom
non-zero-u32

Conversation

@Boshen
Copy link
Member

@Boshen Boshen commented Jun 29, 2024

@graphite-app
Copy link
Contributor

graphite-app bot commented Jun 29, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

@codspeed-hq
Copy link

codspeed-hq bot commented Jun 29, 2024

CodSpeed Performance Report

Merging #3970 will not alter performance

Comparing non-zero-u32 (42c2775) with main (21b964b)

Summary

✅ 28 untouched benchmarks

@Boshen
Copy link
Member Author

Boshen commented Jun 29, 2024

image

1 - 2%, good enough to be merged.

@Boshen Boshen merged commit 0c81fbe into main Jun 29, 2024
@Boshen Boshen deleted the non-zero-u32 branch June 29, 2024 09:29
@github-actions github-actions bot mentioned this pull request Jun 30, 2024
Boshen added a commit that referenced this pull request Jun 30, 2024
## [0.16.2] - 2024-06-30

### Features

- dc6d45e ast,codegen: Add `TSParenthesizedType` and print type
parentheses correctly (#3979) (Boshen)
- 63f36da parser: Parse modifiers with `parse_modifiers` (take 2)
(#3977) (DonIsaac)

### Bug Fixes

- dac617d codegen: Print some missing typescript attributes (#3980)
(Boshen)
- bd1141d isolated-declarations: If declarations is referenced in
`declare global` then keep it (#3982) (Dunqing)

### Performance

- b234ddd semantic: Only check for jsdoc if jsdoc building is enabled
(Boshen)
- 1eac3d2 semantic: Use `Atom<'a>` for `Reference`s (#3972) (Don Isaac)
- 0c81fbe syntax: Use `NonZeroU32` for `SymbolId` and `ReferenceId`
(#3970) (Boshen)

### Refactor

- 5845057 transformer: Pass in symbols and scopes (#3978) (Boshen)

Co-authored-by: Boshen <[email protected]>
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.

Niche Optimization for Option<ReferenceId> and IndexVec<ReferenceId, T> Niche Optimization for Option<ReferenceId> and IndexVec<ReferenceId, T>

1 participant