Steve Dower <steve.do...@python.org> added the comment:

If it's easy to set up, it might be interesting to see if there's a difference 
if (e.g.) all interned strings are marked as immortal, or all small ints. Or 
type objects. Maybe set a flag during initialization and treat everything 
created before that as immortal.

There's definitely going to be overhead, but assuming the branch is there we 
may as well use it to optimise our own operations.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40255>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to