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

modernize jsgen; clean up some leftovers #22423

Merged
merged 1 commit into from
Aug 9, 2023
Merged

modernize jsgen; clean up some leftovers #22423

merged 1 commit into from
Aug 9, 2023

Conversation

ringabout
Copy link
Member

No description provided.

@Araq Araq merged commit ce079a8 into devel Aug 9, 2023
16 checks passed
@Araq Araq deleted the pr_jsgen branch August 9, 2023 04:33
@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2023

Thanks for your hard work on this PR!
The lines below are statistics of the Nim compiler built from ce079a8

Hint: mm: orc; opt: speed; options: -d:release
169266 lines; 10.345s; 611.645MiB peakmem

result.forwarded = @[]
result.generatedSyms = initIntSet()
result.typeInfoGenerated = initIntSet()
result = PGlobals(forwarded: @[],
Copy link
Contributor

Choose a reason for hiding this comment

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

good example of where result only introduces noise, ie extra alignment etc

proc newGlobals(): PGlobals =
  PGlobals(
     forwarded: @[],
     generatedSyms: initIntSet(),
     typeInfoGenerated: initIntSet()
  )

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.

3 participants