Mastodon Feed: Post

Mastodon Feed

glyph ("Glyph") wrote:

Also, did you know that manually constructing SQLAlchemy queries in the body of functions consumes *substantially* more CPU and memory resources in your application than pre-computing them at import time? And that SQLAlchemy has a bindparam() object specifically to facilitate this much more efficient mode of operation?