Closed sambitdash closed 2 years ago
@hhaensel please review this with test cases and see if there is any performance improvement.
Hi, sorry it took me so long to come back to this topic. It seems that your approach has identical memory usage and speed as mine. I had first tested your approach but forgot to do a deepcopy, so I failed. I think we should rather go for your approach then. I'll close #104 then.
To be reviewed along with #104. Pre-create the objects and
deepcopy
when needed.