Skip to content

v0.7.0 rewrite #58

@GoogleFeud

Description

@GoogleFeud

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!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions