Skip to content

Drop irrelevant capacity field from Ident representation#462

Merged
dtolnay merged 1 commit intomasterfrom
identsize
May 19, 2024
Merged

Drop irrelevant capacity field from Ident representation#462
dtolnay merged 1 commit intomasterfrom
identsize

Conversation

@dtolnay
Copy link
Copy Markdown
Owner

@dtolnay dtolnay commented May 19, 2024

This is very significant because it drops the size of syn's TokenBuffer Entry from 40 bytes to 32 bytes.
https://github.com/dtolnay/syn/blob/2.0.65/src/buffer.rs#L14-L34

@dtolnay dtolnay merged commit 728eddf into master May 19, 2024
@dtolnay dtolnay deleted the identsize branch May 19, 2024 21:11
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.

1 participant