#297·PyMySQL

Add speedup module for CPython

Author: methaneCreated Feb 2, 2015Updated May 23, 2023

There are two bottlenecks.

  1. Reading packet
  2. Parsing packet

1 is resolved by using io module.

To resolve issue 2, we should remove classes for parsing packets, and use simple flat function and builtin types. It make PyMySQL on PyPy faster. Then, we can easily replace them with speedup module written in C.