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

Go implementations for improved performance and capabilities #15

Closed
11 tasks done
verdverm opened this issue Oct 9, 2021 · 1 comment
Closed
11 tasks done

Go implementations for improved performance and capabilities #15

verdverm opened this issue Oct 9, 2021 · 1 comment

Comments

@verdverm
Copy link
Member

verdverm commented Oct 9, 2021

Today, the implementations are in CUE and entry is at the top level. Go implementations would likely have better performance. Additionally, they may open up features like Pattern Constraints l: [string]: string and Closedness close(), #def, and ...

The idea would be to walk values and the AST as needed.

  • count
  • depth
  • diff
  • patch
  • pick
  • mask
  • replace
  • insert
  • upsert
  • transform
  • validate
@verdverm
Copy link
Member Author

v0.3.1 CLI is now using the Go implementations. They pass the existing tests. We need more tests to verify more capabilities and edge cases. More improvements are planned.

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