Antoine Pitrou <pit...@free.fr> added the comment: The popularity heuristic could be tuned to depend on the number N of distinct elements in the sequence, and kick in if an element appears say more than 1/(N**0.5) of the time.
---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2986> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com