Gratitude. Em sábado, 5 de março de 2016 18:03:15 UTC-3, Jason Moore escreveu: > > SymPy uses a cache to store results of computations so that you don't have > expend much computational effort when doing repetitions of computations. > You can manually clear that cache if you want using the function you show. > > > Jason > moorepants.info > +01 530-601-9791 > > On Wed, Mar 2, 2016 at 8:16 AM, <[email protected] <javascript:>> wrote: > >> What is the exact function of the clear? >> Could someone explain to me, Thankful. >> >> from sympy import * >> k=factorint(13**10**6) >> cache.clear_cache() >> print (k) >> Ps; Google Translate >> >> Em sexta-feira, 3 de setembro de 2010 16:22:34 UTC-3, klmn escreveu: >>> >>> Wow, what a fast and exact answer! clear_cache does the job. Thank you >>> Øyvind! >>> >>> > What do you mean by "force garbage collection"? >>> gc.collect() >>> >>> Regards, >>> Konstantin >>> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] <javascript:> >> . >> Visit this group at https://groups.google.com/group/sympy. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sympy/446759f5-1b20-49bb-9a49-741aa892ebf5%40googlegroups.com >> >> <https://groups.google.com/d/msgid/sympy/446759f5-1b20-49bb-9a49-741aa892ebf5%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > >
-- 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 https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/4cea608f-e871-4f03-af24-ad4021601124%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
