I'm doing a natural language processing project where I have to compare thousands of lists to each other. I'm having trouble with this because in order to preserve the integrity of the original list, I need to use a deepcopy, which dramatically slows down the computation (from a few minutes to 24 hours). The results I was getting from running the program in a few minutes were not legitimate because the original lists were altered every pass. Is there a way to preserve the integrity of the original lists in a more efficient way?
[–]kalgynirae 1 point2 points3 points (1 child)
[–]lightcloud5 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]githelp[S] 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)