INADA Naoki added the comment: w_ref() depends on refcnt already. I don't think removing *_INTERN opcode makes PYC reproducible. https://github.com/python/cpython/blob/1f06a680de465be0c24a78ea3b610053955daa99/Python/marshal.c#L269-L271
I think "intern one string, then share it 10 times" is faster than "share one string 10 times, then intern each of 10 references". ---------- nosy: +inada.naoki _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue31377> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com