python-mysql-replication
python-mysql-replication copied to clipboard
Use a simplifed byte2int
It's offer a very small performance gain
The original implementation from PyMySQL test instance type before. https://github.com/PyMySQL/PyMySQL/blob/3be54819ee6b09710be892a2b86f4592eaabf412/pymysql/util.py
It's not require and by dropping it's a little faster.
hm, this breaks the tests. Otherwise it's okay for me :)
Hmm with Python 3 and Python 2 we don't have the same result .. I'm not sure to understand why.
Not really sure about this fix.
Hm, I dont like it.