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

Add static_bsatn_validator & validate_bsatn #2029

Merged
merged 1 commit into from
Dec 3, 2024
Merged

Conversation

Centril
Copy link
Contributor

@Centril Centril commented Nov 30, 2024

Description of Changes

Adds a validator for the coming fast-path BSATN -> BFLATN logic.
The validator is structured like the row_type_visitor, first converting to a rose tree and then to a byte code program.
The goal with this is to, in most cases, have an empty validator program that is cheaper than tree traversal.

API and ABI breaking changes

None

Testing

A proptest is added asserting that the general PV -> BFLATN errors when the validator errors.

@Centril Centril requested a review from gefjon November 30, 2024 02:35
@bfops bfops added the release-any To be landed in any release window label Dec 2, 2024
@Centril Centril added this pull request to the merge queue Dec 3, 2024
Merged via the queue into master with commit 586929c Dec 3, 2024
10 checks passed
@Centril Centril deleted the centril/bsatn-to-bflatn branch December 3, 2024 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-any To be landed in any release window
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants