Alexei
Hi again,
I don't think the problem has anything to do with GiNaC. Hint: try sticking
On Fri, Oct 22, 2010 at 12:22 AM, Cristobal Navarro <axischire@gmail.com> wrote:
> i kept investigating,
> based on the test i've made, im almost sure, 99%, that the increase in
> memory usage is due to the segmentation of the expressions.
ints (instead of ex*) into that map. Check the memory usage, and compare
it with your calculations.
Use a different data structure (perhaps hash map or a sorted array), and
store ex instead of pointers.
Best regards,
Alexei
_______________________________________________
GiNaC-list mailing list
GiNaC-list@ginac.de
https://www.cebix.net/mailman/listinfo/ginac-list