Skip to content

Improve runtime implementation of lazy vals to reduce the amount of code generated for each lazy val #5340

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

Closed
allanrenucci opened this issue Oct 30, 2018 · 1 comment

Comments

@allanrenucci
Copy link
Contributor

scala/scala#5374

@smarter
Copy link
Member

smarter commented Oct 30, 2018

Note: the equivalent of LazyRef.scala in dotty is https://github.com/lampepfl/dotty/blob/master/library/src/dotty/runtime/LazyHolders.scala

@smarter smarter changed the title Port scala/scala#5374 Improve runtime implementation of lazy vals to reduce the amount of code generated for each lazy val Oct 30, 2018
allanrenucci added a commit to dotty-staging/dotty that referenced this issue Oct 31, 2018
Reduce the amount of code generated for local lazy val by moving some of
the generated code to the runtime library.

This is a port of scala/scala#5374
allanrenucci added a commit to dotty-staging/dotty that referenced this issue Oct 31, 2018
Reduce the amount of code generated for local lazy val by moving some of
the generated code to the runtime library.

This is a port of scala/scala#5374
allanrenucci added a commit to dotty-staging/dotty that referenced this issue Oct 31, 2018
Reduce the amount of code generated for local lazy val by moving some of
the generated code to the runtime library.

This is a port of scala/scala#5374
allanrenucci added a commit to dotty-staging/dotty that referenced this issue Nov 1, 2018
Reduce the amount of code generated for local lazy val by moving some of
the generated code to the runtime library.

This is a port of scala/scala#5374
allanrenucci added a commit to dotty-staging/dotty that referenced this issue Nov 1, 2018
Reduce the amount of code generated for local lazy val by moving some of
the generated code to the runtime library.

This is a port of scala/scala#5374
allanrenucci added a commit to dotty-staging/dotty that referenced this issue Nov 1, 2018
Reduce the amount of code generated for local lazy val by moving some of
the generated code to the runtime library.

This is a port of scala/scala#5374
allanrenucci added a commit to dotty-staging/dotty that referenced this issue Nov 1, 2018
Reduce the amount of code generated for local lazy val by moving some of
the generated code to the runtime library.

This is a port of scala/scala#5374
allanrenucci added a commit to dotty-staging/dotty that referenced this issue Nov 6, 2018
Reduce the amount of code generated for local lazy val by moving some of
the generated code to the runtime library.

This is a port of scala/scala#5374
allanrenucci added a commit to dotty-staging/dotty that referenced this issue Nov 8, 2018
Reduce the amount of code generated for local lazy val by moving some of
the generated code to the runtime library.

This is a port of scala/scala#5374
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants