fast-clone icon indicating copy to clipboard operation
fast-clone copied to clipboard

Add support for circular structures

Open denizdogan opened this issue 7 years ago • 2 comments

This library does not support circular references, but if we could still get the same performance while supporting them it would be great! An alternative would be to add an option to enable it, so that existing users won't be affected and still get the same super-fast cloning.

denizdogan avatar Dec 19 '17 12:12 denizdogan

Thanks for the suggestion. This would be a great feature.

I suspect it would incur a non trivial performance hit, but as you say could be an 'opt-in' feature via options. I should have some time over the holiday break to try this out.

codeandcats avatar Dec 20 '17 00:12 codeandcats

An ability to work for circular references would be nice. Or the ability to prune a circular reference?

jasonkoon avatar Mar 28 '19 23:03 jasonkoon