Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using the python API. One can obtain a string representation for an expression very quickly. However, obtaining the uninterpreted elements of an expression is horribly inefficient the way I am doing it. Here is an example:
Where all_uninterpreted_set uses 'children' to walk the ast:
This works just fine on small things... but on large expressions it quickly grinds to a complete halt... does the Python API support ways to obtain metrics or contents of an expression? Is this easy to accomplish using C ? Thanks for any assistance. I'm thinking I've missed a better way of doing this.
Beta Was this translation helpful? Give feedback.
All reactions