-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Pickle quotes directly as expressions in TASTY #4538
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
Pickle quotes directly as expressions in TASTY #4538
Conversation
* We avoid having to do owner changes after unpickling * The pickled code is slightly smaller
test performance with #quotes please |
performance test scheduled: 1 job(s) in queue, 0 running. |
Performance test finished successfully: Visit http://dotty-bench.epfl.ch/4538/ to see the changes. Benchmarks is based on merging with master (df00a67) |
And performance improvements all around :) |
1 similar comment
And performance improvements all around :) |
ownerTree = new OwnerTree(NoAddr, 0, rdr.fork, reader.endAddr) | ||
rdr.indexStats(reader.endAddr) | ||
} | ||
|
||
def unpickleExpr()(implicit ctx: Context): Tree = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Document what this method does, how it differs from unpickle(), when it is used
I wonder if we could always unpickle as an expression and get rid of the other way to unpickle. |
Do you mean get rid of |
I will merge the two unpicking ways in another PR |
Replaces #4242