It is taking 16% of the whole execution time on Test-Comp.
We discussed this a little bit with @filipeom and there are various fixes:
- Add a cache to avoid recomputing the representation all the time.
- Maybe we could make this cache weak to avoid using too much space (that is, when an expression is not used anymore, the entry in the cache should be garbage collected). I'm afraid this is not going to play well with multi-core so maybe we should try this only after trying 1.
- Attach the solver representation directly to expression, this is annoying because it requires changing the type of expressions but I'm also afraid it will not work well with smtzilla...
It is taking 16% of the whole execution time on Test-Comp.
We discussed this a little bit with @filipeom and there are various fixes: