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

psl: simplify attribute list validation #4237

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

tomhoule
Copy link
Contributor

@tomhoule tomhoule commented Sep 14, 2023

Since type aliases are not a thing anymore,
AttributesValidationState.attributes does not need to be a Vec anymore (we were accumulating attributes defined on the model and on aliases), it can be an Option. This is simpler to reason about.

Since type aliases are not a thing,
`AttributesValidationState.attributes` does not need to be a Vec anymore
(we were accumulating attributes defined on the model and on aliases),
it can be an Option. This is simpler to reason about.
@tomhoule tomhoule requested a review from a team as a code owner September 14, 2023 08:10
@tomhoule tomhoule added this to the 5.4.0 milestone Sep 14, 2023
@codspeed-hq
Copy link

codspeed-hq bot commented Sep 14, 2023

CodSpeed Performance Report

Merging #4237 will degrade performances by 5.67%

Comparing psl-simplify-attribute-list-validation (e68253e) with main (b90a820)

Summary

❌ 1 regressions
✅ 10 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main psl-simplify-attribute-list-validation Change
large_read 7.3 ms 7.7 ms -5.67%

@tomhoule tomhoule merged commit 3ef05ff into main Sep 14, 2023
53 of 54 checks passed
@tomhoule tomhoule deleted the psl-simplify-attribute-list-validation branch September 14, 2023 11:24
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