This would definitely be a good optimization. Open a ticket. Best, Travis
On Tuesday, June 23, 2015 at 12:45:03 AM UTC-7, Jori Mäntysalo wrote: > > P = Poset({0:[1]}) > Q = Poset(P) > L = LatticePoset(P) > P._hasse_diagram is Q._hasse_diagram, P._hasse_diagram is L._hasse_diagram > > --> > > (True, False) > > Why so? Poset is immutable, so I don't understand why another copy of > Hasse diagram is made. > > -- > Jori Mäntysalo > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.