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

(pragma! type-check auto) in standard library slows down the execution #639

Open
vsbogd opened this issue Mar 26, 2024 · 0 comments
Open
Labels
optimization Opportunity to optimize performance

Comments

@vsbogd
Copy link
Collaborator

vsbogd commented Mar 26, 2024

Adding !(pragma! type-check auto) at the first line of the standard library written in MeTTa slows down metta::types::tests::simple_dep_types test significantly. Overall number of queries to the space grows from >26000 to >1100000. Time of the test grows from 0.3 s to 19 s.

@vsbogd vsbogd added the optimization Opportunity to optimize performance label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimization Opportunity to optimize performance
Projects
None yet
Development

No branches or pull requests

1 participant