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
Late Data Layout transformation #68
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` extmethods 7 add extension methods for inline classes hijacker 8 pickler 9 serialize symbol tables refchecks 10 reference/override checking, translate nested objects selectiveanf 11 selectivecps 12 uncurry 13 uncurry, translate function values to anonymous classes minibox-dupl 14 minibox-spec 15 tailcalls 16 replace tail calls by jumps specialize 17 @specialized-driven class and method specialization ``` Specialization hijacker, minibox-dupl and minibox-spec are now added :)
Instead of computing all the conversions and tags upfront. There are many todos in the area of checking the rewiring will be correct, but luckily we have tests for that.
More principled transformation
DefDef
Added constraints
Fixed the type tag generation algorithm. Now it's only inefficient, not inefficient and wrong. :)) TODO: Regardless of whether the topic/erasure branch makes it into wip, this change should be propagated.
translation: late data layout (mb/erasure) for the win, oh my God, REPL (read-evaluate-print-loop) workz!
Seems treecheckers complains when higher kinded types are around -- since this error occurs even without miniboxing/specialization, I won't go into it now: https://issues.scala-lang.org/browse/SI-8282
Ping @DarkDimius and @MelodyLucid. |
Conflicts: build.sbt
Okay, now we have something that can be merged :) |
Seems nobody commented on this PR: either nobody has anything against it or nobody cares about it. Either way, I'm merging it now. :) |
VladUreche
pushed a commit
that referenced
this pull request
Feb 18, 2014
Late Data Layout transformation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Details here: http://scala-miniboxing.org/2014/01/18/miniboxing-developments.html
and here: https://speakerdeck.com/vladureche/late-data-layout-initial-presentation