Skip to content
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

Allow creating "lazy" builders #42

Open
amis92 opened this issue Jun 7, 2018 · 0 comments
Open

Allow creating "lazy" builders #42

amis92 opened this issue Jun 7, 2018 · 0 comments
Milestone

Comments

@amis92
Copy link
Owner

amis92 commented Jun 7, 2018

Creating a builder from an immutable object results in copying over all of its properties.

It could be optimized by creating a private class, derived from Builder, that also holds onto a reference of Record, and until any setter is called, serves values from the Record.

@amis92 amis92 added this to the Future milestone Jun 7, 2018
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

1 participant