Skip to content

Conversation

@mmatera
Copy link
Contributor

@mmatera mmatera commented Sep 30, 2020

Let's go again...

mmatera and others added 26 commits September 28, 2020 18:35
Information functions support

more efficient last definition checks
cleanup

fixes typo bug
cleanup

more write protection stuff
adds comments

comments, better cost handling for Expression.output_cost
cleanup

more cleanups

docs for slice(), filter(), restructure(), cleanups

replaced last_evaluated, _symbols by _token

fixes small bug

fix options pattern rules
fix _flatten_sequence evaluation parameter

fixes bug: _leaves must always be a tuple
… use in loops

fixes DeleteStopWords

several fixes

fixing error in appending leaves   in algebra.py

fixing list<>tuple

fixing list<>tuple in numeric

fixing parameter name in list.py

fix?

reformulate Delete

erase duplicated class Delete

Delete completely fixed...

CoefficientList completely fixed...

Quantities completely fixed...

Quantities completely fixed...

Quantities completely fixed...

Quantities completely fixed...

Quantities and get_part completely fixed...

Fix RealDigits

Fix ReplacePart

fixes
cleanup

fixes nasty cache bug

optimize_blanks for faster matching in certain situations

fixes Orderless patterns

fixes for orderless expressions
Fix PR#685

Refactor code for Subsets[] function

Handling the non list argument in the 1st position for Subsets[]

Update Subsets[] for finding subsets from any head in Mathics

Revise CHANGEs.rst; \\[ escape
new attempt...

new try

working now

fix
@rocky
Copy link
Member

rocky commented Sep 30, 2020

Thanks! There are lots of changes. I'm curious if we can see the promised speed up.

@mmatera
Copy link
Contributor Author

mmatera commented Oct 1, 2020

I guess the advantage is apparent from the time that the tests take. On the other hand, there is also an advantage in memory, because this evaluation method does not require to keep the frames for each call in the arguments at the same time...

@mmatera
Copy link
Contributor Author

mmatera commented Oct 1, 2020

By the way, we need to fix the travis check to detect the fails. As it is now, if some symbols fails, the tests still pass in green...

@mmatera
Copy link
Contributor Author

mmatera commented Oct 1, 2020

Well, it seems that now again it passes all the tests. I leave this here until the weekend, and then we can decide if we keep it or not.

@rocky
Copy link
Member

rocky commented Oct 1, 2020

Again, thanks.

@rocky
Copy link
Member

rocky commented Oct 2, 2020

I've looked this over and don't see anything glaring. I was also able to confirm the after resuls @poke1024 gave in #619.

The before results (quadratic behavior) I had a hard time verifying I verified by going back to the 1.0 tag. Indeed it is quadratic.

So let's go with this, and if there are problems down the line we'll deal with it then.

@rocky rocky merged commit 93cb0eb into master Oct 2, 2020
@rocky rocky deleted the qtime branch October 2, 2020 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants