tjmehta/101

omit perf

Closed this issue · 0 comments

omit currently clones the source object and then deletes "omitted" properties from the copy.
In the scenario that omitted properties are very large, clone is unnecessarily copying a large amount of data and immediately deleting it.

Reimplement omit to avoid copying "omitted" properties.