Serhiy Storchaka added the comment:

> Or at very least, can fallthrough be used in the switch block, so there
> aren't 7+6+5+4+3+2+1 copies of the same line?

It is how _Py_HashBytes is implemented in 3.4+.

----------
title: Hash computation speedup for {buffer,string,unicode}object -> Hash 
computation speedup for {buffer, string, unicode}object

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

Reply via email to