Re: [sage-combinat-devel] Re: #7922 timing issues

2011-02-28 Thread Daniel Bump
> - For #7922: understanding why in your example the hash function gets >called sooo often. For this, we should look at a smallest possible >example where hash is obviously called too often. I have discovered that making _weight_multiplicities a cached method seems to fix the timing prob

[sage-combinat-devel] Re: first version of a cluster algebra package

2011-02-28 Thread Frédéric Chapoton
Hello Christian, first, thanks a lot for your hard job on many interesting topics. This is certainly a useful thing to have clusters here. I would have a suggestion, but I have not checked whether you have already done that : define the fan associated with the cluster complex. I am not really sur

Re: [sage-combinat-devel] Re: #7922 timing issues

2011-02-28 Thread Daniel Bump
> - For #7922: understanding why in your example the hash function gets >called sooo often. For this, we should look at a smallest possible >example where hash is obviously called too often. > > - Independently on #7922: creating a new ticket for optimizing hash >and equality tests

[sage-combinat-devel] sage combinat install failed

2011-02-28 Thread Martin Rubey
Dear heros, I just downloaded and installed sage 4.6.1, and then did sage -combinat install but it failed: patching file sage/combinat/root_system/root_space.py Hunk #2 FAILED at 54 1 out of 3 hunks FAILED -- saving rejects to file sage/combinat/root_system/root_space.py.rej patch failed, unabl

Re: [sage-combinat-devel] Re: #7922 timing issues

2011-02-28 Thread Nicolas M. Thiery
On Sun, Feb 27, 2011 at 07:00:22AM -0800, bump wrote: > Something is wrong, however. Before the patches, the following takes > about 32 seconds: > > A2=WeylCharacterRing("A2",style="coroots") > A7=WeylCharacterRing("A7",style="coroots") > s = A7.fundamental_weights()[1] > ad=A2(1,1) > time A7(5*s

Re: [sage-combinat-devel] Re: sage combinat install failed

2011-02-28 Thread Nicolas M. Thiery
On Sun, Feb 27, 2011 at 02:57:48PM -0800, Christian Stump wrote: > problem solved, it was this (if anyone has similar issues): > > - first, he had to re-install the unix development tools on his mac > > then he got this error message > - and then found this thread which solved the problem: > > h