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

Revision 0.32.25 #849

Merged
merged 2 commits into from
Apr 26, 2024
Merged

Revision 0.32.25 #849

merged 2 commits into from
Apr 26, 2024

Conversation

sinclairzx81
Copy link
Owner

This PR implements library wide optimizations to improve type composition performance (faster startup) as well as optimizations to Value functions (with particular note to Decode and Encode). The update employs a new strategy to avoid unnecessary object initialization when constructing schematics, and also adds a new KindGuard which offers a fast path for type differentiation during composition.

These updates were made to improve composition performance specifically for Indexed, Composite, KeyOf and Mapped functions.

Additional updates include general code maintenance which primarily centered on the adoption of the as never return pattern over explicit type return.

This PR has no breaking changes.

@sinclairzx81 sinclairzx81 merged commit 1ba927c into master Apr 26, 2024
18 checks passed
@sinclairzx81 sinclairzx81 deleted the fast branch April 26, 2024 00:46
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.

None yet

1 participant