Antoine Pitrou <[email protected]> writes: > On Wed, 21 Oct 2020 22:48:59 +1100 > Chris Angelico <[email protected]> wrote: >> >> SQLAlchemy seems to be slower, but if you're using SQLAlchemy, you're >> probably more concerned about database performance than the CPU cost >> inside Python. > > I certainly wouldn't say that. The ORM's overhead can be quite > important, and SQLAlchemy has dedicated C extensions to mitigate it.
To be precise, that's unrelated to the ORM layer: the C extension speed ups the handling of the "records" returned by a database driver, so basically a custom mixin between a tuple and a dictionary. ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. [email protected] | -- Fortunato Depero, 1929. _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/ZWLEY4BJYL4A3ZBBKUIAFXXL62RPFRVB/ Code of Conduct: http://python.org/psf/codeofconduct/
