-
Notifications
You must be signed in to change notification settings - Fork 18
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
Slow list creation #42
Comments
adding types doesn't change the performance
|
Interesting that Python is six times slower than Rust REPL on this task which is strange. |
This issue somewhat relates to one I've just created as well trueagi-io/hyperon-experimental#638 |
From the code logic perspective nothing is wrong here. Although I recommend adding types as @noskill suggested in #42 (comment). It is a performance issue. So I would suggest closing it as a duplicate of trueagi-io/hyperon-experimental#638 |
@vsbogd is the issue caused by argument of car-atom being evaluated? If so why it gets evaluated? I remember you told me that built-in metta types are not evaluated |
It is not evaluated in this context. If you see it is evaluated in log the reason is |
What do you think about adding differently typed == operator? |
works faster, but not much
|
It takes about 1 minute to create a list of 24 elements in minimal Metta.
Is there a way to make it work faster?
The text was updated successfully, but these errors were encountered: