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

v0.7.0 rewrite #58

Open
GoogleFeud opened this issue Jun 8, 2024 · 0 comments
Open

v0.7.0 rewrite #58

GoogleFeud opened this issue Jun 8, 2024 · 0 comments
Assignees

Comments

@GoogleFeud
Copy link
Owner

This project will re-written (again!) to support even more features and to make the code cleaner.

Here are some features that I'll be trying out after the rewrite is complete:

  • Error customization system
  • More strict custom checks - so you can prohibit a check from getting applied to types it's not supposed to work with
  • Experiment with loop unrolling optimizations
  • Allow for customizing object/tuple field weights so some fields get checked before others (prioritizing checks which fail more often first)
  • Generate different code on different platforms - we've noticed code generated by ts-runtime-checks can be a little slower than alternative AOT libraries when running on specific CPUs and javascript runtimes (ts-runtime checks can be 8x faster than other libraries on bun than it is on node.js, node.js + AMD CPUs run ts-runtime-checks code a little slower), so it'd be nice to generate the fastest possible code for different platforms.

Have any suggestions? Post them here!

@GoogleFeud GoogleFeud self-assigned this Jun 8, 2024
@GoogleFeud GoogleFeud pinned this issue Jun 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

No branches or pull requests

1 participant