Subject: bug#52753: 29.0.50; Printing long list-like structures fails

From: Mattias Engdegård <[email-masked]>
Date: Thu, 23 Dec 2021 17:11:10 +0100

The elisp printer isn't really geared towards printing deeply nested values since it uses recursion. Perhaps you could just print the contents of your skip list as a flat list or vector for serialization purposes, and rebuild the structure when loading it back in again.

You could of course always write your own (non-recursive) printer, but be prepared that you may need to write a reader as well.

(I'd use a balanced tree-like structure instead of a skip list. Performance is similar, and allows for immutability and persistence.)