Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thanks for the link to the animations.

I want an extremely performant deep copy solution, I've been thinking of using an allocator to implement it.

If we have a tree data structure or a nested hashmap, then we want to copy it cheaply, there is copy on write. But most copies of hashmaps are slow because they instantiate every child object in a recursive loop.

So I want to be able to memcpy a complicated data structure for cheap copies.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: