Nbytes is very hard in Python, and getsizeof() does not work very well. People has addressed this using github.com/pympler. Not sure if anyone tried it on sympy objects and how costly is that calculation. Cachey has very simple nbytes calculation, mainly intended for numpy and pandas objects.
-- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/68200f5e-997d-4a9f-9f60-7f21e46c8843%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
