RecordGenerator icon indicating copy to clipboard operation
RecordGenerator copied to clipboard

Allow creating "lazy" builders

Open amis92 opened this issue 6 years ago • 0 comments

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 avatar Jun 07 '18 09:06 amis92