News for hackers. Stuff that matters.
Re:12 requests per second: A realistic look at Python web fr... by ZephyrBlu on Friday February 19, 2021 @12:20AM (#26190049)
Funnily enough, I recently optimized some code along these lines.

The way I sped it up was to call `.values()` on the query, which serializes the data into a dict and prevented me from accidentally making subsueqent calls.

PS: Indent by 4 spaces for code formatting.

Re:12 requests per second: A realistic look at Python web fr... by monkpit on Friday February 19, 2021 @12:25AM (#26190073)
s/ident/indent/
Re:12 requests per second: A realistic look at Python web fr... by ZephyrBlu on Friday February 19, 2021 @05:51AM (#26191691)
Thanks :).