Zulip Chat Archive
Stream: lean4
Topic: does pickling preserve sharing
Joachim Breitner (Sep 10 2023 at 16:38):
I strongly assume the answer is yes, but just checking: Does pickling heap data structures to disk preserve sharing? I.e. if I place the same Lean.Name
into various data structures, will they be stored only once?
Sebastian Ullrich (Sep 10 2023 at 17:08):
Not only does it preserve sharing, it implements maximum sharing (by comparing objects on the byte level)
Joachim Breitner (Sep 10 2023 at 18:35):
Neat!
Last updated: Dec 20 2023 at 11:08 UTC