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

Small DocumentElem optimizations #2777

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Small DocumentElem optimizations #2777

merged 1 commit into from
Nov 27, 2023

Conversation

Dherse
Copy link
Sponsor Collaborator

@Dherse Dherse commented Nov 27, 2023

  • Makes DocumentElem use the #[ghost] attribute
  • Makes DocumentElem::children not use Prehash<Content> since DocumentElem is never hashed

@Dherse Dherse marked this pull request as ready for review November 27, 2023 11:06
@laurmaedje laurmaedje merged commit c1ed55f into typst:main Nov 27, 2023
3 checks passed
@laurmaedje
Copy link
Member

Thank you!

@Dherse Dherse deleted the doc-opt branch November 27, 2023 11:19
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.

None yet

2 participants