These are chat archives for symengine/symengine

Jul 2014
Francesco Biscani
Jul 24 2014 09:21
@certik right, it seems like the visitor should do the job. It's a pity that seemingly there is no way to mix up dynamic and static polymorphism in C++ though :/
Arb looks really cool, especially with the latest performance improvements.
Ondřej Čertík
Jul 24 2014 15:13
@bluescarni definitely let me know if you figure out some faster way using templates. I think the current implementation of the visitor pattern using two virtual function calls is not bad --- I haven't benchmark it against just single virtual functions, but I think it might be pretty competitive.
Ondřej Čertík
Jul 24 2014 17:01
I should add that the current visitor pattern works without using any RTTI like dynamic cast, that's the key point for efficiency.