> > I wish we had a working benchmark system (and not just a working one, > but one with up-to-date benchmarks). Comparing timings of tests > doesn't seem very helpful. Can you suggest something that might take > more time without __slots__ that I can test?
I can test some of these manually on an idle system. I will upload the results soon. > > And as I asked on the other thread, is there a good reason to not have > __slots__? It's just one line, and since they are all empty, it > doesn't really seem to cause any issues. (sorry if I've asked this > before, I forgot the answer) > For me it is a pedagogical difficulty. There is something used all over sympy for no clear reason (to a new user). When you subclass you do not know if you must follow this style. It is just not "one clear way to do it". If the space and time speedups are not substantial it will be conceptually simpler to remove the slots (and I have heard that the Jython guys don't like how slots are used in sympy?). -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
