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

[#161] Moved the TokenBuffer variants out to packages that use them. #162

Merged
merged 1 commit into from
Sep 7, 2024

Conversation

susanw1
Copy link
Owner

@susanw1 susanw1 commented Sep 7, 2024

Also restrict field visibility. Most of the fields in the main TokenBuffer class are mutable and accessible, which is wrong in class that's meant to be really solid. Doesn't affect the C++ impl, as most of this is about extending the Buffer to be usable in the Client.

However, it does affect the ScriptSpace extendable version too. But I'm not sure we've finished that machinery anyway.

@susanw1 susanw1 linked an issue Sep 7, 2024 that may be closed by this pull request
@susanw1 susanw1 merged commit 0b4fc3d into master Sep 7, 2024
2 checks passed
@susanw1 susanw1 deleted the 161-fix-token-buffers-inefficient-offset-method branch September 7, 2024 09:35
@susanw1 susanw1 self-assigned this Sep 8, 2024
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.

Fix token buffer's inefficient "offset" method
1 participant