Select Git revision
pymysql
-
-
- Open in your IDE
- Download source code
Yuriy Taraday
authored
Common method to parse integer was very inefficient: - read method has been called to create a copy of couple bytes; - separate method has been called just to call struct.unpack; - for one-byte integers always failing type check happend in byte2int method; - for three-byte integers there were extra bytes concatenation. This change makes all integer parsing with no copies and with minimal method calls number.
Name | Last commit | Last update |
---|