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

Bump eventree to 0.7.0 #19

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

lunacookies
Copy link
Contributor

eventree 0.7.0:

  • the SyntaxKind trait has been eliminated in favor of a few more methods on TreeConfig
  • &SyntaxTree is now a direct pointer to the syntax tree’s data, rather than a pointer to a pointer. In order to accomplish this, SyntaxTree is now an unsized type and a new type SyntaxTreeBuf is introduced to own the allocation. &SyntaxTree and SyntaxTreeBuf have the same relationship as e.g. &str and String or &Path and PathBuf.
  • the tree no longer stores finish node events explicitly, which sometimes gives a small perf boost

@NotAFlyingGoose NotAFlyingGoose merged commit 84c5d8d into capy-language:master Nov 1, 2023
@lunacookies lunacookies deleted the bump-eventree branch November 1, 2023 02:55
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