-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Factorize/FactDollar are much slower than FactArg #42
Comments
Hi Takahiro, This is a bit strange. The ArgFact eventually calls poly_factorize_argument which calls poly_factorize Jos
|
Hi Takahiro, I understand it now. Jos
|
Hi Jos, OK. For now I'm fine with a workaround like
which is fast as FactArg. Thanks. |
Hi Takahiro, I managed to fix up the dollars. In the end the proper routines were there, but were not called/ Cheers Jos
|
Hi Jos, It broke GCD:
which now gives
|
valgrind output:
|
Status update: $-variables now seem to be OK (5fbce8e). |
Oh, the above |
Hi, good news is the above example now works thanks to 5f9b827, and it seems that somehow "incomplete gcd" has been fixed:
The result was
But now
Bad news is that another part (#FactDollar) is broken...
gives
which had been
|
I don't understand code around dollar.c:3055. If the input is |
Hi Takahiro, This is indeed where things did go wrong. But checking now, I did repair in my sources, but must Jos
|
Thanks. I've added test cases for the examples in this issue. (ParFORM freezes for #factdollar, but probably it is a different thing.) For now I will close this issue, and will open an issue for slow |
I am trying to switch from
FactArg
toFactDollar
to avoid the curse ofMaxTermSize
. The major problem is thatFactDollar
is really much slower thanFactArg
.I put a test program at https://gist.githubusercontent.com/tueda/5f83e562854158b5a62f/raw/test1.frm. The file contains two expressions
F1
andF2
. The timing I obtained forF1
wasand the timing for
F2
wasMaybe the recent improvements do not apply for them?
The text was updated successfully, but these errors were encountered: