Alexandre Vassalotti added the comment: In addition, we could bring back the switch dispatch based on the first letter of the type name. It does seem to speed up things as well but as much as the type cache optimization.
---------- nosy: +pitrou, serhiy.storchaka title: Optimize pickling function lookups in hot loops. -> Optimize pickling function dispatch in hot loops. _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17787> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com