Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

I will take a look and try to reproduce the benchmarks result you mentioned, 
but if under PGO there is no substantial performance increase is much less 
appealing as the lookup table code is less clear and maintainable than the 
simple switch. Also you have a branch that is a good candidate to trigger the 
same branch mispredictions as the default of the switch (c1>=37 && c1<=126).

----------

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

Reply via email to