First time here? Check out the FAQ!
answered 2021-04-09 13:33:48 +0100
I have found the problem. Sorry for wasting your time everyone. The lists themselves were not too long. There was a freak coincidence, which caused random elements of the list to be a 10,000 deep nested sequence of lists.