[sage-combinat-devel] Re: Refactoring quiver representations/algebras again?
Hi (I guess it is "Hi Nathan" in this case)! On 2013-09-24, Simon King wrote: > Namely, #14806 has introduced immutable (di)graphs, ... ... but not hashable. The hash method of graphs still check whether the argument _immutable exists and evaluates to True. Question: Is the graph really immutable when using data_structure="static_sparse"? Immutable at least in the sense of "it can not be changed by non-underscore methods"? If you can answer this question affirmatively, I'd open a trac ticket suggesting that the flag "_immutable" is automatically set when using the static_sparse data structure. Best regards, SImon -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-combinat-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-combinat-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-combinat-devel. For more options, visit https://groups.google.com/groups/opt_out.
[sage-combinat-devel] Re: Refactoring quiver representations/algebras again?
Hello Simon ! Sorry for not having seen this message, but I don't read all posts on sage-combinat, especially when the title involves quivers or algebras :-P Could you add me in Cc please next time ? ^^; ... but not hashable. > > The hash method of graphs still check whether the argument _immutable > exists and evaluates to True. > Well this patch only creates a new data structures for immutable graphs. It implements the part of #14535 that could result in a slowdown for all users (not just those of immutable graphs). > Question: Is the graph really immutable when using > data_structure="static_sparse"? Immutable at least in the sense of "it > can not be changed by non-underscore methods"? > Nononon, embeddings layouts and other things can still be changed. Only what is stored in the graph backend can't be modified. > If you can answer this question affirmatively, I'd open a trac ticket > suggesting that the flag "_immutable" is automatically set when using the > static_sparse data structure. Yepyepyep ! Possibly using your decorators too :-) (Let's continue this on the ticket. Forking conversation is a lot of work :-P Nathann -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-combinat-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-combinat-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-combinat-devel. For more options, visit https://groups.google.com/groups/opt_out.