Python's intern
function lets you save memory if you have a lot of copies of the same string floating around, by replacing them all with references to a single object.
I have a similar situation, except that instead of strings I'm dealing with long
s.
Is there a way to do something similar with long
s?